From: Oleg Broytman Date: Thu, 11 Feb 2021 11:55:25 +0000 (+0300) Subject: .mc/mc.ext: Use `cat` with `%view{ascii}` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7ca160589e93dab9aa8b614f78e8afb93477d0c5;p=dotfiles.git .mc/mc.ext: Use `cat` with `%view{ascii}` --- diff --git a/.mc/mc.ext b/.mc/mc.ext index 140282d..936c785 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -72,7 +72,7 @@ regex/\.(cue|aac|ac3|ape|flac|wv|mka)$ ## Python #shell/.py # Open=python %f -# View=%view{ascii} +# View=%view{ascii} cat %f # Compile=compyle %s # Icon=snake.xpm # @@ -96,7 +96,7 @@ include/audio Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear; case %f in *.m3u) while read song; do audtool --playlist-addurl "$song"; done < %f ;; *) audtool --playlist-addurl %f ;; esac; audtool --playback-play #Open=mplayer %f & #Open=deadbeef %f & - View=%view{ascii} + View=%view{ascii} cat %f include/msoffice-doc Edit=libreoffice %f & @@ -110,7 +110,7 @@ include/msoffice-xlsx #include/video # Open=mplayer %f & -# View=%view{ascii} +# View=%view{ascii} cat %f # include/xml Open=%cd %p/xml://