diff options
author | tdro <tdro@users.noreply.github.com> | 2022-02-26 21:53:01 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-02-26 21:53:01 -0500 |
commit | 7d299753f5dd4c3ca31701bfa0c7339c702246ee (patch) | |
tree | 84429200a448d51eb32d53f5176767938b2ad5cd /.vimrc | |
parent | 14c1cf5cc8a036c52735aa3edfc26c1ce09fd24f (diff) | |
download | dotfiles-7d299753f5dd4c3ca31701bfa0c7339c702246ee.tar.gz dotfiles-7d299753f5dd4c3ca31701bfa0c7339c702246ee.tar.bz2 dotfiles-7d299753f5dd4c3ca31701bfa0c7339c702246ee.zip |
.vimrc: Fzf use inline info on some commands
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,8 +177,8 @@ nmap <leader>ob :BLines<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><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> +nmap <leader>od :call fzf#run({'options': ['--info=inline','--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': ['--info=inline', '--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> |