Skip to content

Commit

Permalink
feat(nvim): better key binding for fzf function
Browse files Browse the repository at this point in the history
  • Loading branch information
cutbypham committed Aug 16, 2021
1 parent c932755 commit 260bd44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ map mm <Plug>NERDCommenterToggle
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'

inoremap <expr> <c-x><c-f> fzf#vim#complete#path('rg --files')
inoremap <expr> <c-x><c-w> fzf#vim#complete#word()
inoremap <expr> <c-f><c-f> fzf#vim#complete#path('rg --files')
inoremap <expr> <c-f><c-w> fzf#vim#complete#word()
noremap <leader>f :Files<cr>
noremap <leader>b :Buffers<CR>
noremap <leader>F :Files ~<CR>
Expand Down

0 comments on commit 260bd44

Please sign in to comment.