diff --git a/terminal/.config/vifm/vifmrc b/terminal/.config/vifm/vifmrc index 7c51e5a..b69eb05 100644 --- a/terminal/.config/vifm/vifmrc +++ b/terminal/.config/vifm/vifmrc @@ -172,6 +172,13 @@ command! fzfcd : set noquickview \| if $FZF_PICK != '' \| execute 'cd' fnameescape($FZF_PICK) \| endif +" show or hide the devicon prefix for files +command! toggleicons : + \| if &classify == '' + \| source $VIFM/favicons.vifm + \| else + \| set classify='' + \| endif " }}} " vifminfo {{{ " ------------------------------------------------------------------------------ @@ -269,10 +276,7 @@ nnoremap tN :windo toggle number nnoremap tR :windo toggle relativenumber nnoremap te :execute ':tree! | echo ":tree"' nnoremap tt t - -" zo shows hidden files, mimicking fold open in vim -- why does zc not close -" again? -nnoremap zc zm +nnoremap ti :toggleicons " external commands " extract currently selected file(s)