Fixed wildgnore. Mapping for Go and Ts quickfix
This commit is contained in:
parent
33a366cc4a
commit
365e30c643
1 changed files with 11 additions and 1 deletions
12
init.vim
12
init.vim
|
@ -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
|
||||
|
|
Reference in a new issue