Compare commits

...

2 Commits

Author SHA1 Message Date
don philipe
9d80e6b5a1 Jump to NERDTree when opening new tab in vim 2024-01-05 13:01:25 +01:00
don philipe
80202b3467 Add linting engine 2024-01-05 11:07:09 +01:00

7
.vimrc
View File

@@ -35,7 +35,8 @@ inoremap <expr>> strpart(getline('.'), col('.')-1, 1) == ">" ? "\<Right>" : ">"
"inoremap ' ''<Left>
" Tab navigation
nmap <C-t> :tabnew<CR>
" new tab and move to previous window (NERDTree if open)
nmap <C-t> :tabnew <bar> :wincmd p<CR>
nmap <C-h> :tabprev<CR>
nmap <C-l> :tabnext<CR>
@@ -128,6 +129,10 @@ Plug 'morhetz/gruvbox'
" use `:Rg <pattern>` to search in current directory
Plug 'jremmen/vim-ripgrep'
" Multi language linting tool
" - https://github.com/koalaman/shellcheck install through package manager
Plug 'dense-analysis/ale'
call plug#end()