From e464c5000a56bb41bbbce466adc447f116f55462 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 19 Mar 2023 14:53:35 +0100 Subject: [PATCH] vifm: Improve prefix suggestions display If given as prefix mapping, the suggestions box shows *all* mappings that exist in the program. By removing the we make the key do its usual action but at the same time restrict the suggestions being displayed to those actually following the prefix. --- terminal/.config/vifm/vifmrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/terminal/.config/vifm/vifmrc b/terminal/.config/vifm/vifmrc index 7a00592..845bcc9 100644 --- a/terminal/.config/vifm/vifmrc +++ b/terminal/.config/vifm/vifmrc @@ -205,8 +205,8 @@ nmap Q :q " Sample mappings " for now they use space for my leader key - so we can't switch panels with " space, use tab for that -nnoremap -nnoremap t +"nnoremap +nnoremap " quick find mirroring my vim filefinder nnoremap f :FZFfind @@ -230,13 +230,10 @@ nnoremap gb :file &l " yank current directory path into the clipboard " clip is universal clipper from `sh` module nnoremap yd :!echo -n %d | clip %i - " yank current file path into the clipboard nnoremap yf :!echo -n %c:p | clip %i - " yank current filename without path into the clipboard nnoremap yt :!echo -n %c | clip %i - " yank root of current file's name into the clipboard nnoremap yr :!echo -n %c:r | clip %i @@ -268,7 +265,6 @@ nnoremap tr :toggle relativenumber nnoremap tN :windo toggle number nnoremap tR :windo toggle relativenumber nnoremap te :execute ':tree! | echo ":tree"' -nnoremap t nnoremap tt t " zo shows hidden files, mimicking fold open in vim -- why does zc not close