From 0a0721a66e918da7fbddebc1396a43e6406eafc6 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 22 Jan 2019 11:13:06 +0100 Subject: Add typescript configuration and remove old commands --- .vimrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.vimrc') 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 w :w nmap q :q -:command WQ wq -:command Wq wq -:command W w -:command Q q - " Use to clear the highlighting of :set hlsearch. nnoremap :nohlsearch @@ -170,6 +164,7 @@ autocmd FileType json noremap :call JsonBeautify() autocmd FileType html noremap :call HtmlBeautify() autocmd FileType css noremap :call CSSBeautify() autocmd FileType scss noremap :call CSSBeautify() +autocmd FileType typescript nmap t : echo tsuquyomi#hint() 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'] -- cgit v1.2.3