nvim: Update some key mappings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
495be4683f
commit
86cbd6a4a6
1 changed files with 5 additions and 5 deletions
|
@ -13,10 +13,10 @@ nnoremap <Leader>; :changes<CR>:keepjumps norm g;<Left><Left>
|
||||||
nnoremap <Leader>, :changes<CR>:keepjumps norm g,<Left><Left>
|
nnoremap <Leader>, :changes<CR>:keepjumps norm g,<Left><Left>
|
||||||
|
|
||||||
" For Fuzzy
|
" For Fuzzy
|
||||||
|
nnoremap <Leader>b :Buffers<CR>
|
||||||
|
nnoremap <Leader>/ :GFiles?<CR>
|
||||||
nnoremap <Leader>ff :GFiles<CR>
|
nnoremap <Leader>ff :GFiles<CR>
|
||||||
nnoremap <Leader>f? :GFiles?<CR>
|
|
||||||
nnoremap <Leader>fF :Files<CR>
|
nnoremap <Leader>fF :Files<CR>
|
||||||
nnoremap <Leader>fb :Buffers<CR>
|
|
||||||
nnoremap <Leader>fL :Lines<CR>
|
nnoremap <Leader>fL :Lines<CR>
|
||||||
nnoremap <Leader>fl :BLines<CR>
|
nnoremap <Leader>fl :BLines<CR>
|
||||||
nnoremap <Leader>ft :BTags<CR>
|
nnoremap <Leader>ft :BTags<CR>
|
||||||
|
@ -52,9 +52,6 @@ nnoremap [t :tabprevious<CR>
|
||||||
nnoremap ]t :tabnext<CR>
|
nnoremap ]t :tabnext<CR>
|
||||||
nnoremap [T :tabfirst<CR>
|
nnoremap [T :tabfirst<CR>
|
||||||
nnoremap ]T :tablast<CR>
|
nnoremap ]T :tablast<CR>
|
||||||
nnoremap <Leader>b :b<SPACE>
|
|
||||||
nnoremap <Leader>bl :ls<CR>:b<SPACE>
|
|
||||||
nnoremap <Leader>bd :bd<SPACE>
|
|
||||||
" For floating terminal
|
" For floating terminal
|
||||||
nnoremap se :FloatermNew<CR>
|
nnoremap se :FloatermNew<CR>
|
||||||
nnoremap [s :FloatermPrev<CR>
|
nnoremap [s :FloatermPrev<CR>
|
||||||
|
@ -178,3 +175,6 @@ nnoremap k gk
|
||||||
vnoremap . :norm.<CR>
|
vnoremap . :norm.<CR>
|
||||||
" Go to the last file we changed
|
" Go to the last file we changed
|
||||||
nnoremap <BS> <C-^>
|
nnoremap <BS> <C-^>
|
||||||
|
" Map to ; to : for easy access to command mode. Behaviour of ; can be taken
|
||||||
|
" care of by f due to clever-f
|
||||||
|
nnoremap ; :
|
||||||
|
|
Loading…
Reference in a new issue