nvim: init.vim: Add shortcuts for Quickfix and location
This commit is contained in:
parent
d7f085ae49
commit
494e99fcbd
1 changed files with 12 additions and 0 deletions
|
@ -172,6 +172,18 @@ nnoremap <Leader>gp :Git! push<CR>
|
||||||
nnoremap <Leader>gu :Git! push -u
|
nnoremap <Leader>gu :Git! push -u
|
||||||
nnoremap <Leader>gr :Git! remote -v<CR>
|
nnoremap <Leader>gr :Git! remote -v<CR>
|
||||||
|
|
||||||
|
" Quickfix
|
||||||
|
nnoremap <Leader>fn :cnext<CR>
|
||||||
|
nnoremap <Leader>fp :cprevious<CR>
|
||||||
|
nnoremap <Leader>fo :copen<CR>
|
||||||
|
nnoremap <Leader>fc :cclose<CR>
|
||||||
|
|
||||||
|
" Location
|
||||||
|
nnoremap <Leader>ffn :lnext<CR>
|
||||||
|
nnoremap <Leader>ffp :lprevious<CR>
|
||||||
|
nnoremap <Leader>ffo :lopen<CR>
|
||||||
|
nnoremap <Leader>ffc :lclose<CR>
|
||||||
|
|
||||||
" Key Bindings to help with terminal mode
|
" Key Bindings to help with terminal mode
|
||||||
:tnoremap <Esc> <C-\><C-n>
|
:tnoremap <Esc> <C-\><C-n>
|
||||||
" Key bindings to move between window splits
|
" Key bindings to move between window splits
|
||||||
|
|
Loading…
Reference in a new issue