aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_profile4
-rw-r--r--.vimrc4
2 files changed, 5 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile
index 36277aa..259ea62 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -77,7 +77,9 @@ command -v rsvg-convert > /dev/null 2>&1 && \
export GDK_PIXBUF_MODULE_FILE
# fzf settings
-export FZF_DEFAULT_OPTS="--color=fg:255,hl:203 \
+export FZF_DEFAULT_OPTS="\
+ --inline-info \
+ --color=fg:255,hl:203 \
--color=fg+:81,bg+:237,hl+:203 \
--color=info:188,prompt:69,pointer:199 \
--color=marker:109,spinner:236,header:255"
diff --git a/.vimrc b/.vimrc
index 8b77153..2dab540 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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': ['--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>
+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>