From 41a22057638ea61560854fb0ecf0d1b64f864486 Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Fri, 10 Mar 2023 04:59:53 +0100 Subject: Add vifm config --- .config/vifm/vifmrc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .config/vifm/vifmrc (limited to '.config/vifm/vifmrc') diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc new file mode 100644 index 0000000..7cb9ba3 --- /dev/null +++ b/.config/vifm/vifmrc @@ -0,0 +1,43 @@ +" vifm configuration + +colorscheme solarized-dark + +set dotdirs=treeleafsparent +set fastrun +set history=100 +set ignorecase +set incsearch +set nofollowlinks +set scrolloff=4 +set smartcase +set sortnumbers +set statusline=" %t %= %A %8u:%-6g %7E %18d " +set syscalls +set timefmt="%Y-%m-%d %H:%M" +set vicmd="nvim" +set vifminfo=tui,dhistory,savedirs,chistory,shistory,phistory,fhistory +set wildmenu + +filextype *.djvu,*.epub,*.pdf,*.ps zathura %c 2>/dev/null & +filextype *.bmp,*.gif,*.jpeg,*.jpg,*.png,*.tif sxiv -a -q %f 2>/dev/null & +filetype *.mp3,*.ogg mpv %f +filextype *.mp4,*.mp4.part,*.webm,*.webm.part,*.mkv mpv --no-terminal %f & +filextype *.html,*.htm chromium %f & +filetype *.[1-8] man ./%c +filetype *.tar,*.tar.bz2,*.tar.gz,*.tar.xz,*.tar.zst,*.tgz tar xf %f & +filetype *.rar unrar %f & +filetype *.zip unzip %f & + +command! diff vim -d %b +command! du ncdu +command! mkcd :mkdir %a | cd %a + +nnoremap s :shell +nnoremap I cw +nnoremap A cw +nnoremap T :!st & + +cnoremap +cnoremap + +" vim: ft=vifm -- cgit v1.2.3-54-g00ecf