diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-19 20:22:00 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-19 20:22:00 +0530 |
commit | f6e814e364cb42c724d062350d3847013e64def3 (patch) | |
tree | cd88cdb40fa8ae7b49a383e06793979a9348a385 /plugins/nuke | |
parent | c5d122e299c30692b70e58daa2e6978a76d11a4d (diff) | |
download | nnn-f6e814e364cb42c724d062350d3847013e64def3.tar.gz |
nuke: open log files in vi
Diffstat (limited to 'plugins/nuke')
-rwxr-xr-x | plugins/nuke | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/nuke b/plugins/nuke index f59edfc..3287087 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -44,6 +44,7 @@ # pdf: zathura (GUI), pdftotext, mutool, exiftool # audio: mocplay (nnn plugin using MOC), mpv, mediainfo, exiftool # avi|mkv|mp4: smplayer, mpv (GUI), ffmpegthumbnailer, mediainfo, exiftool +# log: vi # torrent: rtorrent, transmission-show # odt|ods|odp|sxw: odt2txt # md: glow (https://github.com/charmbracelet/glow) @@ -178,6 +179,11 @@ handle_extension() { handle_video exit 1;; + ## Log files + log) + vi "${FPATH}" + exit 0;; + ## BitTorrent torrent) if which rtorrent >/dev/null 2>&1; then @@ -220,6 +226,7 @@ handle_extension() { exit 0 fi ;; + ## JSON json) if which jq >/dev/null 2>&1; then |