Remove global flycheck and yasnippet toggles

`SPC t C-f` and `SPC t C-y`
This commit is contained in:
syl20bnr 2015-04-10 20:12:45 -04:00
parent fa33faedf2
commit f55654c9c9
2 changed files with 1 additions and 17 deletions

View file

@ -944,7 +944,6 @@ Key Binding | Unicode | ASCII | Mode
<kbd>SPC t c</kbd> | `ⓒ` | c | fill-column-indicator mode
`none` | `ⓔ` | e | [evil-org][evil-org-mode] mode
<kbd>SPC t f</kbd> | `ⓕ` | f | flycheck mode
<kbd>SPC t C-f</kbd> | | | global
<kbd>SPC t F</kbd> | `Ⓕ` | F | auto-fill mode
<kbd>SPC t g</kbd> | `ⓖ` | g | [golden-ratio][] mode
<kbd>SPC t k</kbd> | `Ⓖ` | G | guide-key mode
@ -957,7 +956,6 @@ Key Binding | Unicode | ASCII | Mode
<kbd>SPC t w</kbd> | `ⓦ` | w | whitespace mode
<kbd>SPC t C-w</kbd> | | | global
<kbd>SPC t y</kbd> | `ⓨ` | y | [yasnippet][yasnippet] mode
<kbd>SPC t C-y</kbd> | | | global
# Commands

View file

@ -1111,14 +1111,7 @@ which require an initialization must be listed explicitly in the list.")
:on (flycheck-mode)
:off (flycheck-mode -1)
:documentation "Enable error and syntax checking."
:evil-leader "tf")
(spacemacs|add-toggle syntax-checking-globally
:status flycheck-mode
:on (global-flycheck-mode)
:off (global-flycheck-mode -1)
:documentation
"Enable error and syntax checking globally."
:evil-leader "t C-f"))
:evil-leader "tf"))
:config
(progn
(spacemacs|diminish flycheck-mode "" " f")
@ -2889,13 +2882,6 @@ It is a string holding:
:documentation "Enable yasnippet."
:evil-leader "ty")
(spacemacs|add-toggle yasnippet-globally
:status yas-minor-mode
:on (yas-global-mode)
:off (yas-global-mode -1)
:documentation "Enable yasnippet globally."
:evil-leader "t C-y")
(defun spacemacs/force-yasnippet-off ()
(yas-minor-mode -1)
(setq yas-dont-activate t))