Skip to content

Commit

Permalink
Remap winner-undo / redo commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pashinin committed Jul 30, 2014
1 parent 2383e0d commit ce7e6b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/workgroups-keys.el
Expand Up @@ -131,6 +131,10 @@ as Workgroups' command remappings."
;; (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)))


Expand Down

0 comments on commit ce7e6b5

Please sign in to comment.