nvim: Prefix the fuzzy finder bindings with Leader
We want to use the standard vim f,F motions so free them up. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
cae810ad02
commit
5af317e87c
1 changed files with 19 additions and 19 deletions
|
@ -202,24 +202,24 @@ vnoremap ; :
|
|||
nnoremap Q <Nop>
|
||||
|
||||
" For Fuzzy
|
||||
nnoremap ff :GFiles<CR>
|
||||
nnoremap f? :GFiles?<CR>
|
||||
nnoremap fF :Files<CR>
|
||||
nnoremap fb :Buffers<CR>
|
||||
nnoremap fL :Lines<CR>
|
||||
nnoremap fl :BLines<CR>
|
||||
nnoremap ft :BTags<CR>
|
||||
nnoremap fT :Tags<CR>
|
||||
nnoremap fc :BCommits<CR>
|
||||
nnoremap fC :Commits<CR>
|
||||
nnoremap fh :History:<CR>
|
||||
nnoremap fH :History/<CR>
|
||||
nnoremap fm :Commands<CR>
|
||||
nnoremap fo :Locate<SPACE>
|
||||
nnoremap fk :Maps<CR>
|
||||
nnoremap fr :FZFMru<CR>
|
||||
nnoremap f/ :Rg<CR>
|
||||
nnoremap fs :exe ':Rg ' . expand('<cword>')<CR>
|
||||
nnoremap <Leader>ff :GFiles<CR>
|
||||
nnoremap <Leader>f? :GFiles?<CR>
|
||||
nnoremap <Leader>fF :Files<CR>
|
||||
nnoremap <Leader>fb :Buffers<CR>
|
||||
nnoremap <Leader>fL :Lines<CR>
|
||||
nnoremap <Leader>fl :BLines<CR>
|
||||
nnoremap <Leader>ft :BTags<CR>
|
||||
nnoremap <Leader>fT :Tags<CR>
|
||||
nnoremap <Leader>fc :BCommits<CR>
|
||||
nnoremap <Leader>fC :Commits<CR>
|
||||
nnoremap <Leader>fh :History:<CR>
|
||||
nnoremap <Leader>fH :History/<CR>
|
||||
nnoremap <Leader>fm :Commands<CR>
|
||||
nnoremap <Leader>fo :Locate<SPACE>
|
||||
nnoremap <Leader>fk :Maps<CR>
|
||||
nnoremap <Leader>fr :FZFMru<CR>
|
||||
nnoremap <Leader>f/ :Rg<CR>
|
||||
nnoremap <Leader>fs :exe ':Rg ' . expand('<cword>')<CR>
|
||||
imap <C-x><C-w> <plug>(fzf-complete-word)
|
||||
imap <C-x><C-p> <plug>(fzf-complete-path)
|
||||
imap <C-x><C-f> <plug>(fzf-complete-file)
|
||||
|
@ -277,7 +277,7 @@ nnoremap <Leader>sh :GitGutterStageHunk<CR>
|
|||
nnoremap <Leader>uh :GitGutterUndoHunk<CR>
|
||||
nnoremap <Leader>ph :GitGutterPreviewHunk<CR>
|
||||
nnoremap <Leader>qh :GitGutterQuickFix<CR>
|
||||
nnoremap <Leader>fh :GitGutterFold<CR>
|
||||
nnoremap <Leader>hf :GitGutterFold<CR>
|
||||
" For Neomake/Neoformat
|
||||
nnoremap <Leader>nm :Neomake<CR>
|
||||
nnoremap <Leader>nc :NeomakeClean<CR>
|
||||
|
|
Loading…
Reference in a new issue