home/vifm | update editor + add file compare tool
This commit is contained in:
parent
3bbdd24c10
commit
d427b16f13
1 changed files with 9 additions and 0 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue