Changeset - ce7e6b519c51
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-07-30 17:43:48
sergey@pashinin.com
Remap winner-undo / redo commands
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/workgroups-keys.el
Show inline comments
 
@@ -122,17 +122,21 @@ off and then on again to take effect."
 
  "Return Workgroups' minor-mode-map.
 
This map includes `wg-prefixed-map' on `wg-prefix-key', as well
 
as Workgroups' command remappings."
 
  (let ((map (make-sparse-keymap)))
 
    (define-key map wg-prefix-key
 
      wg-prefixed-map)
 
    ;;(cond ((eq wg-remap-bury-buffer 'banish)
 
    ;;       (define-key map [remap bury-buffer]
 
    ;;         'wg-banish-buffer))
 
    ;;      (wg-remap-bury-buffer
 
    ;;       (define-key map [remap bury-buffer]
 
    ;;         'wg-bury-buffer)))
 
    (when (and (fboundp 'winner-undo)
 
               (fboundp 'winner-redo))
 
      (define-key map [remap winner-undo] 'wg-undo-wconfig-change)
 
      (define-key map [remap winner-redo] 'wg-redo-wconfig-change))
 
    (setq workgroups-mode-map map)))
 

	
 

	
 
(provide 'workgroups-keys)
 
;;; workgroups-keys.el ends here
0 comments (0 inline, 0 general)