Permalink
Browse files

Add ne2wm:dp-three+-toggle-imenu

  • Loading branch information...
1 parent 65ea777 commit 7d107ddbfbedcc5001510638b01f051625f95b44 @tkf committed Feb 27, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 ne2wm-pst-three+.el
View
@@ -61,6 +61,7 @@
("M-\\" . ne2wm:win-ring-push)
("M-~" . ne2wm:win-ring-rotate)
("M-_" . ne2wm:same-buffer-in-next-window)
+ ("prefix I" . ne2wm:dp-three+-toggle-imenu)
("prefix c" . ne2wm:dp-three+-toggle-codethumb))
e2wm:prefix-key))
@@ -217,6 +218,13 @@
(e2wm:pst-change 'three+))
+(defun ne2wm:dp-three+-toggle-imenu ()
+ (interactive)
+ (wlf:toggle (e2wm:pst-get-wm) 'imenu)
+ (e2wm:plugin-exec-update-by-plugin-name
+ (selected-frame) (e2wm:pst-get-wm) 'imenu))
+
+
(defun ne2wm:dp-three+-toggle-codethumb ()
(interactive)
(wlf:toggle (e2wm:pst-get-wm) 'codethumb)

0 comments on commit 7d107dd

Please sign in to comment.