aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-06-12 06:30:45 -0400
committertdro <tdro@users.noreply.github.com>2021-06-12 06:31:19 -0400
commit37d8a9b477c68118719a9c29c972c748325e5a58 (patch)
treeafb2097a2cb3ce8c6df1f161dc5d4bd79fc74df6
parent1ab7e6adf68a68ff0e3b07dab3f20577a2ef61b2 (diff)
downloaddotfiles-37d8a9b477c68118719a9c29c972c748325e5a58.tar.gz
dotfiles-37d8a9b477c68118719a9c29c972c748325e5a58.tar.bz2
dotfiles-37d8a9b477c68118719a9c29c972c748325e5a58.zip
.vimrc: Send down key on fzf open
Ensure window does not freeze.
-rw-r--r--.vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 920f127..d3c091b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -198,9 +198,9 @@ nmap <leader>op :History<cr>
nmap <leader>oc :History:<cr>
nmap <leader>ol :Locate<space>
nmap <leader>ot :exe '!$TERMINAL -cd ' . expand('%:p:h') . ' &'<cr><cr>
-nmap <leader>of :call fzf#run({'options': [], 'source': "cat $FZF_FILE_MARKS", 'sink': 'e', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }})<cr>
-nmap <leader>od :call fzf#run({'options': ['--preview', 'ls {}'], 'source': "cut -d' ' -f3 $FZF_DIRECTORY_MARKS", 'sink': 'cd', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }})<cr><cr>
-nmap <leader>oo :call fzf#run({'options': ['--preview', 'highlight -O ansi --force {}'], 'source': 'rg --files --hidden \|\| find . -type f -printf "%P\n"', 'sink': 'e', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }})<cr>
+nmap <leader>of :call fzf#run({'options': [], 'source': "cat $FZF_FILE_MARKS", 'sink': 'e', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }})<cr><down>
+nmap <leader>od :call fzf#run({'options': ['--preview', 'ls {}'], 'source': "cut -d' ' -f3 $FZF_DIRECTORY_MARKS", 'sink': 'cd', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }})<cr><down>
+nmap <leader>oo :call fzf#run({'options': ['--preview', 'highlight -O ansi --force {}'], 'source': 'rg --files --hidden \|\| find . -type f -printf "%P\n"', 'sink': 'e', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }})<cr><down>
" Mappings for nnn
nmap <leader>nm :NnnPicker<cr>