From 230e609604aaf5c2efb781885ecb0195e8fbb8be Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 26 Feb 2022 22:13:14 -0500 Subject: .bash_profile: Set fzf inline info as default --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 8b77153..2dab540 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': ['--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 }}) +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 }}) " Mappings for nnn nmap nm :NnnPicker -- cgit v1.2.3