Browse Source

vifm 0.9

master
Maxim Likhachev 8 years ago
parent
commit
11debf0a96
  1. 4
      etc/soft/vifm/commands
  2. 9
      etc/soft/vifm/filetypes
  3. 2
      etc/soft/vifm/vifmrc

4
etc/soft/vifm/commands

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
command! Q :execute '!echo %d > ~/.vifm/lastdir' | quit
command df dfc -t ext4,fuseblk -w %m 2> /dev/null
command dus noc dus %d/* %m
command dus dus %d/* %q
command dmesg dmesg %m
" TMSU
@ -30,7 +30,7 @@ command ext ext %f @@ -30,7 +30,7 @@ command ext ext %f
command diff vimdiff %f %F
command run !! ./%f
command vim !vim %a
command vim !vim %f
command git !!git %a
command cal cal -y %m

9
etc/soft/vifm/filetypes

@ -8,6 +8,9 @@ fileviewer *.odt odt2txt %f @@ -8,6 +8,9 @@ fileviewer *.odt odt2txt %f
fileviewer *.rtf catdoc %f
fileviewer *.fb2,*.fb2.zip fb2 %f
" Монтирование ssh
filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
" Бинарные файлы
fileviewer *.bin,*.dat file %f
fileviewer *.so,*.so.* file %f
@ -21,8 +24,7 @@ filetype *.txt vim %f @@ -21,8 +24,7 @@ filetype *.txt vim %f
" img
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif viewnior %c
filextype *.svg sensible-browser %f &
" fileviewer *.jpg imgv %px %py %pw %ph %c
" fileviewer *.jpg lsi %f
fileviewer *.jpg,*.png lsimg %f %q %pc
" audio
filextype *.mp3,*.wav,*.flac,*.ogg,*.m4a vlc %f &
@ -46,11 +48,12 @@ fileviewer *.pdf pdftotext -nopgbrk %f - @@ -46,11 +48,12 @@ fileviewer *.pdf pdftotext -nopgbrk %f -
" djvu
filextype *.djvu
\ zathura %f &,
\ qpdfview %f &,
\ djview %f &
filetype *.djvu apvlv %f &
" ebook
" ebooks
filextype *.fb2,*.mobi,*.epub,*.chm,*.fb2.zip pybr %f &
" web-страницы

2
etc/soft/vifm/vifmrc

@ -18,7 +18,7 @@ set incsearch @@ -18,7 +18,7 @@ set incsearch
set nowrap
set timefmt="%d.%m.%y %H:%M"
set statusline=" %t%= %A %10u:%-7g %15s %20d "
set statusline=" %t %T%= %A %10u:%-7g %15s %20d [%a] %D "
source ~/.vifm/marks
source ~/.vifm/filetypes

Loading…
Cancel
Save