home/vifm | update editor + add file compare tool

This commit is contained in:
Don Harper 2025-08-03 21:41:02 -05:00
parent 3bbdd24c10
commit d427b16f13

View file

@ -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<cr>
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 = ''