Add documentation about evilifying 'special-mode buffers' (+fix eww)
This commit is contained in:
parent
c8c20becf6
commit
2de0a10ae0
|
@ -805,6 +805,8 @@ Other:
|
|||
section (thank to Daniel Nicolai)
|
||||
- New function =spacemacs/inherit-leader-keys-from-parent-mode= to
|
||||
inherit leader key bindings from another mode
|
||||
- Evilify buffer with major-mode derived from =special-mode= by default
|
||||
(thanks to Daniel Nicolai)
|
||||
*** Distribution changes
|
||||
- Refactored =spacemacs-bootstrap=, =spacemacs-ui=, and =spacemacs-ui-visual=
|
||||
layers:
|
||||
|
|
|
@ -90,6 +90,10 @@ It is recommended to make sure that ~q~ allows to leave the transient-state.
|
|||
/Evilifying/ a buffer is to set the =evilified state= as the default
|
||||
state for the major mode of the buffer.
|
||||
|
||||
Except for =eww-mode= buffers, all buffers with major-modes derived from
|
||||
=special-mode= are evilified by default. To exclude buffers of such major-modes
|
||||
from getting evilified, add a regexp to =evil-buffer-regexps=.
|
||||
|
||||
The =evilified state= is derived from the =emacs state= and modify the
|
||||
map to:
|
||||
- add ~hjkl~ navigation
|
||||
|
|
|
@ -893,6 +893,9 @@ In addition to this, =C-g=, being an important escape key in Emacs, is skipped.
|
|||
So anything bound to =g= originally will be found on =C-G=, since =g=, =G= and
|
||||
=C-g= are all reserved.
|
||||
|
||||
Except for =eww-mode= buffers, all buffers with major modes derived from
|
||||
=special-mode= are evilified by default.
|
||||
|
||||
** Evil leader
|
||||
Spacemacs uses a leader key to bind almost all its key bindings.
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
(use-package eww
|
||||
:defer t
|
||||
:init
|
||||
(add-to-list 'evil-buffer-regexps '("\\*eww\\*" . normal))
|
||||
(spacemacs//eww-setup-transient-state)
|
||||
(spacemacs/declare-prefix "awe" "eww")
|
||||
(spacemacs/set-leader-keys "awee" 'eww)
|
||||
|
|
Loading…
Reference in New Issue