add keybinding for vim

This commit is contained in:
Julien Rabier 2020-05-31 12:52:21 +02:00
parent d8f10f8b8b
commit 6947105afd

View File

@ -118,7 +118,7 @@ autocmd! User GoyoLeave call <SID>goyo_leave()
command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0)
nnoremap ,f :Files<cr>
nnoremap <c-p> :Files<cr>
nnoremap ,ff :RG<cr>
function! RipgrepFzf(query, fullscreen)
@ -131,6 +131,14 @@ endfunction
command! -nargs=* -bang RG call RipgrepFzf(<q-args>, <bang>0)
let g:fzf_action = {
\ 'ctrl-s': 'split',
\ 'ctrl-v': 'vsplit',
\ 'ctrl-t': 'edit',
\ 'enter': 'tabedit',
\ }
nnoremap ,f :FZF<cr>
{{- if eq .chezmoi.osRelease.prettyName "Debian GNU/Linux 10 (buster)" }}
let g:go_version_warning = 0