add keybinding for vim
This commit is contained in:
parent
d8f10f8b8b
commit
6947105afd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user