From b955b5c9d65c9fdf3ccd6869a385f297b6d01f26 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 30 Apr 2013 18:14:24 +0200 Subject: [PATCH] Ranger: resize picture shortcut. --- .config/ranger/rc.conf | 3 +++ .emacs.d/mc-lists.el | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index f38446ed..e6ff9794 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -120,6 +120,9 @@ map egp shell -w git pull map egP shell -w git push map egs shell -w git status -uno +## Pictures +map ep shell -w mogrify -resize 50% %s + ## Video ## Note that latin1 for MPlayer is cp1252 in reality. map ev console shell mplayer "%f" -sub "%s" diff --git a/.emacs.d/mc-lists.el b/.emacs.d/mc-lists.el index 234463ab..0a77c743 100644 --- a/.emacs.d/mc-lists.el +++ b/.emacs.d/mc-lists.el @@ -3,8 +3,7 @@ (setq mc/cmds-to-run-for-all '( - c-electric-delete-forward - yas-expand + org-self-insert-command )) (setq mc/cmds-to-run-once