From d427b16f1361c0de25d935cc32a3c4ee27e01081 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sun, 3 Aug 2025 21:41:02 -0500 Subject: [PATCH] home/vifm | update editor + add file compare tool --- home/common/vifm.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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 = ''