diff --git a/home/common/vifm.nix b/home/common/vifm.nix index 4208dfa..ca63fc2 100644 --- a/home/common/vifm.nix +++ b/home/common/vifm.nix @@ -7,12 +7,21 @@ colorscheme dracula set timefmt=%Y-%m-%d\ %H:%M set hlsearch + set vicmd=nvim set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d " " :mark mark /full/directory/path [filename] mark b ~/bin/ mark h ~/ mark d ~/Downloads nnoremap gd :cd ~/Downloads + command! cmpinternal compare-cmd %a %S + command! cmp : if expand('%%c') == expand('%%f') + \ | echo expand('Comparing %%"c and %%"C:t ...') + \ | cmpinternal %c %C + \ | else + \ | echo expand('Comparing files: %%"f ...') + \ | cmpinternal %f + \ | endif ''; }; xdg.configFile."vifm/colors/dracula.vifm".text = ''