chore(vifm): update configuration and theme

This commit is contained in:
Yorick Barbanneau 2025-03-16 21:10:30 +01:00
parent 9232baa632
commit 8d678f1222
2 changed files with 16 additions and 16 deletions

View file

@ -5,17 +5,18 @@ highlight OtherWin cterm=none ctermfg=20 ctermbg=0
highlight Border cterm=none ctermfg=7 ctermbg=0
highlight AuxWin cterm=none ctermfg=7 ctermbg=0
highlight TopLine cterm=bold ctermfg=8 ctermbg=0
highlight TopLineSel cterm=bold ctermfg=9 ctermbg=10
highlight TopLine cterm=none ctermfg=8 ctermbg=0
highlight TopLineSel cterm=bold ctermfg=20 ctermbg=19
highlight TabLineSel cterm=bold ctermfg=18 ctermbg=16
highlight CmdLine cterm=none ctermfg=7 ctermbg=0
highlight ErrorMsg cterm=bold ctermfg=1 ctermbg=0
highlight StatusLine cterm=none ctermfg=7 ctermbg=18
highlight JobLine cterm=bold ctermfg=5 ctermbg=0
highlight SuggestBox cterm=none ctermfg=7 ctermbg=11
highlight WildMenu cterm=bold ctermfg=7 ctermbg=18
highlight SuggestBox cterm=none ctermfg=7 ctermbg=18
highlight WildMenu cterm=none ctermfg=7 ctermbg=18
highlight CurrLine cterm=bold,inverse ctermfg=default ctermbg=default
highlight CurrLine cterm=bold,inverse ctermfg=default ctermbg=default
highlight OtherLine cterm=bold ctermfg=default ctermbg=19
highlight Selected cterm=bold ctermfg=16 ctermbg=18
highlight LineNr cterm=none ctermfg=7 ctermbg=0
@ -23,7 +24,7 @@ highlight LineNr cterm=none ctermfg=7 ctermbg=0
highlight Directory cterm=bold ctermfg=4 ctermbg=default
highlight Link cterm=none ctermfg=6 ctermbg=default
highlight BrokenLink cterm=none ctermfg=1 ctermbg=default
highlight Socket cterm=bold ctermfg=5 ctermbg=default
highlight Socket cterm=italic ctermfg=5 ctermbg=default
highlight Device cterm=none ctermfg=3 ctermbg=default
highlight Fifo cterm=none ctermfg=5 ctermbg=default
highlight Executable cterm=bold ctermfg=2 ctermbg=default
highlight Executable cterm=underline ctermfg=2 ctermbg=default

View file

@ -1,5 +1,4 @@
" vim: filetype=vifm :
" vim: filetype=vim :
" Command used to edit files in various contexts. The default is vim.
" If you would like to use another vi clone such as Elvis or Vile
" you will need to change this setting.
@ -56,7 +55,7 @@ set vimhelp
set norunexec
" List of color schemes to try (picks the first one supported by the terminal)
colorscheme base16-default-dark
colorscheme base16-default-dark
" Format for displaying time in file list. For example:
" TIME_STAMP_FORMAT=%m/%d-%H:%M
@ -173,7 +172,7 @@ fileviewer {*.pdf},<application/pdf> pdftotext -nopgbrk %c -
filetype {*.pdf},<application/pdf>,<video/*>
\ xdg-open
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ chafa -f sixel --polite on -s %pwx%ph --animate off %c
\ chafa -f sixel --polite on -s %pwx%ph --animate off %c
\ %pd %N
filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ xdg-open
@ -230,7 +229,7 @@ if has('win')
nnoremap yp :!echo %"d:gs!\!/! %i | clip<cr>
" Yank path to current file to Windows clipboard with forward slashes
nnoremap yf :!echo %"c:gs!\!/! %i | clip<cr>
elseif $WAYLAND_DISPLAY
elseif $WAYLAND_DISPLAY != ''
if executable('wl-copy')
" Yank current directory path into primary and selection clipboards
nnoremap yd :!echo -n %d | wl-copy %i &&
@ -239,7 +238,7 @@ elseif $WAYLAND_DISPLAY
nnoremap yf :!echo -n %c:p | wl-copy %i &&
\ echo -n %c:p | wl-copy -p %i<cr>
endif
elseif $DISPLAY
elseif $DISPLAY != ''
if executable('xclip')
" Yank current directory path into the clipboard
nnoremap yd :!echo %d | xclip %i<cr>
@ -266,9 +265,9 @@ nnoremap A cw
" nnoremap A cW
" Open console in current directory
if $DISPLAY && executable('xterm')
if $DISPLAY != '' && executable('xterm')
nnoremap ,t :!xterm &<cr>
elseif $TERMINAL
elseif $TERMINAL != ''
nnoremap ,t :!$TERMINAL &<cr>
endif
@ -299,7 +298,7 @@ nnoremap <a-o> :sync %c<cr>
" Swap panes
nnoremap <c-u> <c-w>x
" source somes plugins
" source some plugins
source ~/.config/vifm/devicons.vifm
" ------------------------------------------------------------------------------