]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
.mc/menu: Identify image properties using `xli -identify`
[dotfiles.git] / .mc / menu
index b0b11b8aa411a28229bf0b2fca07f912cade9043..c9e6416bded09006908b19f51587a48dce77e7ac 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -20,6 +20,10 @@ shell_patterns=0
 p  View the file in a pager
    exec ${PAGER:-more} %f
 
++ t r
+g  Edit the file in gvim
+   gvim %f &
+
 + t r
 b  View the file in a browser
    exec webbrowser file://%d/%f
@@ -102,6 +106,10 @@ i  View image(s) scaled
 I  View image(s) full size
    xli -title "`echo %s | sed 's/ /_/g'`" %s &
 
++ t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$
+I  Identify image
+   xli -identify %f
+
 + t r & f \.(ico|jp2|tif|TIF|tiff|TIFF)$ | t t
 = t r & f \.(ico|jp2|tif|TIF|tiff|TIFF)$
 I  View icon, JPEG-2000 or TIFF image