nvim: more mappings for fzf
This commit is contained in:
parent
a95dc18419
commit
64dd722a5b
@ -21,12 +21,12 @@ call plug#end()
|
||||
set nonumber norelativenumber
|
||||
nnoremap <silent> <F2> :set number! relativenumber!<Return>
|
||||
|
||||
" highlight the cursor line, toggle with F3
|
||||
nnoremap <silent> <F3> :set cursorline!<Return>
|
||||
|
||||
" show the effects of a command incrementally, as you type
|
||||
set inccommand=nosplit
|
||||
|
||||
" highlight the cursor line, toggle with \c
|
||||
nnoremap <Leader>c :set cursorline!<CR>
|
||||
|
||||
" clear highlighting with escape key
|
||||
nnoremap <silent> <Esc> :noh<Return><Esc>
|
||||
|
||||
@ -37,6 +37,10 @@ nmap <Leader><Tab> <Plug>(fzf-maps-n)
|
||||
xmap <Leader><Tab> <Plug>(fzf-maps-x)
|
||||
omap <Leader><Tab> <Plug>(fzf-maps-o)
|
||||
nnoremap <C-P> :FzfFiles<Return>
|
||||
nnoremap fc :FzfCommits<Return>
|
||||
nnoremap ff :FzfFiles<Return>
|
||||
nnoremap fh :FzfHistory<Return>
|
||||
nnoremap fr :FzfRg<Return>
|
||||
|
||||
" disable match highlighting
|
||||
let g:loaded_matchparen=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user