diff --git a/etc/soft/vifm/commands b/etc/soft/vifm/commands index a435424..1b517c0 100644 --- a/etc/soft/vifm/commands +++ b/etc/soft/vifm/commands @@ -18,6 +18,8 @@ command fb fb2 %c:p %m command t t -p %a %m +command ttr ttr %f + command nt nt %a %m command vlc vlc %f @@ -31,7 +33,9 @@ command ext ext %f command diff vimdiff %f %F command run !! ./%f command vim !vim %f + command git !!git %a +command gitdf g st | grep '^[[:space:]]' | grep -v '\)$' | sed 's/[[:space:]]*//' %u command cal cal -y %m diff --git a/etc/soft/vifm/filetypes b/etc/soft/vifm/filetypes index 8829156..0f11526 100644 --- a/etc/soft/vifm/filetypes +++ b/etc/soft/vifm/filetypes @@ -8,9 +8,6 @@ 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 @@ -72,3 +69,11 @@ fileviewer *.gp,*.gp3,*.gp4,*.gp5 gptinfo %c fileviewer *[^/] vcat %c +" Монтирование ssh +filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR + +" Монтирование FTP +filetype *.ftp + \ {Mount with CurlFtpFS} + \ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %CLEAR, + diff --git a/etc/soft/vifm/vifmrc b/etc/soft/vifm/vifmrc index 840711c..84f9cbe 100644 --- a/etc/soft/vifm/vifmrc +++ b/etc/soft/vifm/vifmrc @@ -20,6 +20,8 @@ set nowrap set timefmt="%d.%m.%y %H:%M" set statusline=" %t %T%= %A %10u:%-7g %15s %20d [%a] %D " +set slowfs=curlftpfs + source ~/.vifm/marks source ~/.vifm/filetypes source ~/.vifm/commands