From 7d299753f5dd4c3ca31701bfa0c7339c702246ee Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 26 Feb 2022 21:53:01 -0500 Subject: .vimrc: Fzf use inline info on some commands --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index d66d15f..1dcc497 100644 --- a/.vimrc +++ b/.vimrc @@ -177,8 +177,8 @@ nmap ob :BLines nmap ol :Locate nmap ot :exe '!$TERMINAL -cd ' . expand('%:p:h') . ' &' nmap of :call fzf#run({'options': [], 'source': "cat $FZF_FILE_MARKS", 'sink': 'e', 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 }}) -nmap 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 }}) -nmap 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 }}) +nmap 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 }}) +nmap 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 }}) " Mappings for nnn nmap nm :NnnPicker -- cgit v1.2.3