Better comments for FZF Actions

I'll never open files in tabs. Commented code to explain opeing FZF
result in split,vsplit or copying filename to buffer.
This commit is contained in:
chawley [chawley]
2024-03-19 11:50:04 -04:00
parent 068e40a4cf
commit 6aeec2bcb4

5
.vimrc
View File

@@ -168,9 +168,10 @@ let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'angr' let g:airline_theme = 'angr'
" FZF Actions " FZF Actions
" <c-o> to copy FZF result into current buffer " <c-x> to open FZF result in a split
" <c-v> to open FZF result in a vsplit
" <c-o> to copy FZF result as text into current buffer
let g:fzf_action = { let g:fzf_action = {
\ 'ctrl-t': 'tab split',
\ 'ctrl-x': 'split', \ 'ctrl-x': 'split',
\ 'ctrl-v': 'vsplit', \ 'ctrl-v': 'vsplit',
\ 'ctrl-o': ':r !echo'} \ 'ctrl-o': ':r !echo'}