Fixed wildgnore. Mapping for Go and Ts quickfix

This commit is contained in:
Claudio Maggioni 2019-01-21 20:50:15 +01:00
parent 33a366cc4a
commit 365e30c643

View file

@ -28,7 +28,7 @@ set autoindent
" Make :find work on all files in :pwd
set path+=**
set wildignore+=**/node_modules/**
set wildignore+=**/node_modules/**,*~
" set netrw preferred style to tree
let g:netrw_liststyle = 3
@ -116,6 +116,16 @@ nnoremap <Leader>rcm :!open https://youtu.be/jn40Ugz0vuk<CR><CR>
" open netrw in directory of current file
nnoremap <Leader>e :Ex<CR>
" close quickfix window with: Leader Q
nnoremap <Leader>Q :ccl<CR>
" Go files: launch go lint quickfix with: Leader q
autocmd FileType go nnoremap <Leader>q :w<CR>:GoLint<CR>
" TypeScript files: launch TypeScript lint quickfix with: Leader q
autocmd FileType typescript nnoremap <Leader>q :TsuQuickFix<CR>
" COLORSCHEME
" set colorscheme to onedark.im for nvim and airline