summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/vifm/vifmrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc
index 5918d22..4efe618 100644
--- a/.config/vifm/vifmrc
+++ b/.config/vifm/vifmrc
@@ -28,7 +28,7 @@ map <C-v> <C-w>v
map R :restart<CR>
map x :!sxiv -b -ft * 2>/dev/null &<CR>
nnoremap o :file &<cr>
-map E :!emacsclient -c %f<CR>
+map E :!nvim %f<CR>
map mkd :mkdir<space>
map bg :!setbg %f &<CR>
map X :!ext %f &<CR>
@@ -61,11 +61,12 @@ fileviewer *.odt odt2txt %c -
filetype *.csv,*.xlsx sc-im %c
fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw
-filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus mpv --no-audio-display --audio-channels=stereo --input-ipc-server=/tmp/mpvsoc$(date +%%s) %c 2>/dev/null &,
+filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus ${TERMINAL} -e mpv --no-audio-display --audio-channels=stereo %c &,
+fileviewer *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus file
filextype *.pdf,*.ps,*.eps,*.ps.gz,*.djvu,*.epub zathura %f 2>/dev/null &,
fileviewer *.pdf pdftotext -l 1 -nopgbrk %c -
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.qt,*.divx,*.as[fx],*mp3,*.flac file
-filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,*.as[fx] mpv --quiet --audio-channels=stereo --input-ipc-server=/tmp/mpvsoc$(date +%%s) %f 2>/dev/null &,
+filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,*.as[fx] mpv --fullscreen --really-quiet --audio-channels=stereo %f 2>/dev/null &,
fileview *.zip,*.rar,*.tar.gz atool -l %f
filetype *.zip,*.rar,*.tar.gz ext %f