base: move toggles for editing styles

SPC t E e -> emacs
SPC t E h -> hybrid
This commit is contained in:
syl20bnr 2015-09-26 11:06:45 -04:00
parent 48b3fb2cad
commit ae475c06c4
2 changed files with 9 additions and 7 deletions

View File

@ -1028,9 +1028,9 @@ can be reached using the =control= key.
| ~SPC t a~ | =ⓐ= | a | auto-completion |
| ~SPC t c~ | =ⓒ= | c | camel case motion with subword mode |
| =none= | =ⓔ= | e | [[https://github.com/edwtjo/evil-org-mode][evil-org]] mode |
| ~SPC t E h~ | =Ⓔh= | Eh | holy mode |
| ~SPC t E y~ | =Ⓔy= | Ey | hybrid mode |
| ~SPC t f~ | | | fill-column-indicator mode |
| ~SPC t E e~ | =Ⓔe= | Ee | emacs editing style (holy mode) |
| ~SPC t E h~ | =Ⓔh= | Eh | hybrid editing style (hybrid mode) |
| ~SPC t f~ | | | fill-column-indicator mode |
| ~SPC t F~ | =Ⓕ= | F | auto-fill mode |
| ~SPC t g~ | =ⓖ= | g | [[https://github.com/roman/golden-ratio.el][golden-ratio]] mode |
| ~SPC t h i~ | =ⓗi= | h | toggle highlight indentation levels |

View File

@ -920,8 +920,8 @@ ARG non nil means that the editing style is `vim'."
(holy-mode))
:off (holy-mode -1)
:documentation "Globally toggle holy mode."
:evil-leader "tEh")
(spacemacs|diminish holy-mode "h" " Eh"))))
:evil-leader "tEe")
(spacemacs|diminish holy-mode "e" " Ee"))))
(defun spacemacs-base/init-hybrid-mode ()
(use-package hybrid-mode
@ -935,8 +935,8 @@ ARG non nil means that the editing style is `vim'."
(hybrid-mode))
:off (hybrid-mode -1)
:documentation "Globally toggle hybrid mode."
:evil-leader "tEy")
(spacemacs|diminish hybrid-mode "y" " Ey"))))
:evil-leader "tEh")
(spacemacs|diminish hybrid-mode "h" " Eh"))))
(defun spacemacs-base/init-ido ()
(ido-mode t)
@ -1356,6 +1356,8 @@ ARG non nil means that the editing style is `vim'."
("universal-argument" . "universal arg")
("er/expand-region" . "expand region")
("helm-apropos" . "apropos")
("spacemacs/toggle-hybrid-mode" . "hybrid (hybrid-mode)")
("spacemacs/toggle-holy-mode" . "emacs (holy-mode)")
("evil-lisp-state-\\(.+\\)" . "\\1"))))
(dolist (nd new-descriptions)
;; ensure the target matches the whole string