nvimrc: Add fzf shortcuts

This commit is contained in:
Rob Watson 2021-10-19 16:33:29 +02:00
parent d8f68c11bf
commit eab3e75c1f
1 changed files with 9 additions and 3 deletions

12
nvimrc
View File

@ -350,9 +350,15 @@ let g:vim_markdown_conceal = 1
" fzf configuration:
let g:fzf_action = {
\ 'ctrl-t': 'tab split',
\ 'ctrl-s': 'split',
\ 'ctrl-v': 'vsplit' }
\ 'ctrl-h': 'leftabove vsplit',
\ 'ctrl-j': 'rightbelow split',
\ 'ctrl-k': 'leftabove split',
\ 'ctrl-l': 'rightbelow vsplit',
\ 'ctrl-o': 'only | e',
\ 'ctrl-s': 'split',
\ 'ctrl-t': 'tab split',
\ 'ctrl-v': 'vsplit',
\ }
nmap <leader>t :Files<cr>
nmap <leader>T :GFiles<cr>
nmap <leader>b :Buffers<cr>