eyebrowse layer: make gt gT work in motion state

Also add some doc in README
This commit is contained in:
syl20bnr 2015-08-13 23:13:51 -04:00
parent 24b8576954
commit 1138c94c4a
2 changed files with 4 additions and 2 deletions

View file

@ -55,6 +55,8 @@ Set the variable =eyebrowse-display-help= to =nil=
| Key Binding | Description |
|------------------------+------------------------------------|
| ~gt~ | go to next workspace |
| ~gT~ | got to previous workspace |
| ~SPC W 1~ | create or switch to workspace 1 |
| ~SPC W 2~ | create or switch to workspace 2 |
| ~SPC W 3~ | create or switch to workspace 3 |

View file

@ -22,8 +22,8 @@
(eyebrowse-mode)
;; vim-style tab switching
(define-key evil-normal-state-map "gt" 'eyebrowse-next-window-config)
(define-key evil-normal-state-map "gT" 'eyebrowse-prev-window-config)
(define-key evil-motion-state-map "gt" 'eyebrowse-next-window-config)
(define-key evil-motion-state-map "gT" 'eyebrowse-prev-window-config)
(defun spacemacs/workspace-number ()
"Return the number of the current workspace."