Add shortcut for recentf.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 04 Feb 2015 23:43:38 +0200
changeset 1202 17ed3f571ca4
parent 1201 c300c3c9e973
child 1204 4f9828e2c186
Add shortcut for recentf.
.emacs-my
--- a/.emacs-my	Wed Feb 04 19:46:18 2015 +0200
+++ b/.emacs-my	Wed Feb 04 23:43:38 2015 +0200
@@ -21,13 +21,15 @@
 (setq recentf-keep '(file-remote-p file-readable-p))
 (setq recentf-exclude                   ; Use ``M-x recentf-cleanup`` to update recentf-list.
       '("/devel/[^/]*-\\(orig\\|tmp\\|xxx\\)"
-        "/devel/my-\\(merge\\|pull\\)/"))
+        "/devel/my-\\(merge\\|pull\\)/"
+        "\\.png\\'"))
 (setq recentf-max-saved-items 10000)
 
 (require 'recentf)
 (recentf-mode t)
 
-(global-set-key (kbd "\e\eq")  'recentf-open-files)
+(global-set-key (kbd "\e\eq") 'recentf-open-files)
+(global-set-key [?\s-q] 'recentf-open-files)
 
 (setq recentf-max-menu-items 40)
 (setq recentf-show-file-shortcuts-flag nil)