summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/.vimrc b/.vimrc
index 70ec371..53ac74d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,7 +1,6 @@
if has('python3')
silent! python3 1
endif
-
" Plug Required Block and plugins
set nocompatible
filetype off
@@ -115,11 +114,6 @@ endif
"Fast saving and quiting
nmap <leader>w :w<cr>
nmap <leader>q :q<cr>
-:command WQ wq
-:command Wq wq
-:command W w
-:command Q q
-
" Use <C-L> to clear the highlighting of :set hlsearch.
nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
@@ -170,6 +164,7 @@ autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr>
autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr>
autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr>
autocmd FileType scss noremap <buffer> <c-f> :call CSSBeautify()<cr>
+autocmd FileType typescript nmap <buffer> <Leader>t : <C-u>echo tsuquyomi#hint()<CR>
autocmd CompleteDone * pclose " auto-close preview after completion
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -266,3 +261,8 @@ let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
let g:indent_guides_auto_colors = 0
highlight IndentGuidesEven ctermbg=235
+
+"Syntastic
+"=========
+let g:tsuquyomi_disable_quickfix = 1
+let g:syntastic_typescript_checkers = ['tsuquyomi']