[doc] add visual line nav keys, startup snippet
documentation.org - added visual line navigation (w/w/o) globally keys and unicode/ascii symbol faq.org - updated snippet for enabling visual line navigation globally on startup
This commit is contained in:
parent
e4c8cef412
commit
f19d57eb57
|
@ -1559,7 +1559,7 @@ Additionally all globally available toggles have a circled unicode symbols like
|
|||
squared symbols like =🅿=.
|
||||
|
||||
| Key binding | Unicode | ASCII | Mode |
|
||||
|-------------+---------+-------+----------------------------------------------------------------------|
|
||||
|---------------+---------+-------+----------------------------------------------------------------------|
|
||||
| ~SPC t -~ | =⊝= | - | [[https://www.emacswiki.org/emacs/centered-cursor-mode.el][centered-cursor]] mode |
|
||||
| ~SPC t 8~ | =⑧= | 8 | toggle highlight of characters for long lines |
|
||||
| ~SPC t C-8~ | =⑧= | 8 | global toggle highlight of characters for long lines |
|
||||
|
@ -1579,6 +1579,8 @@ squared symbols like =🅿=.
|
|||
| ~SPC t C-i~ | =ⓘ= | i | global indentation guide |
|
||||
| ~SPC t I~ | =Ⓘ= | I | aggressive indent mode |
|
||||
| ~SPC t K~ | =Ⓚ= | K | which-key mode |
|
||||
| ~SPC t L~ | =Ⓛ= | L | visual line navigation |
|
||||
| ~SPC t C-S-l~ | =Ⓛ= | L | visual line navigation globally |
|
||||
| ~SPC t p~ | =ⓟ= | p | [[https://github.com/Fuco1/smartparens][smartparens]] mode |
|
||||
| ~SPC t C-p~ | =ⓟ= | p | global smartparens |
|
||||
| ~SPC t s~ | =ⓢ= | s | syntax checking (flycheck) |
|
||||
|
|
|
@ -338,12 +338,7 @@ Examples:
|
|||
Add the following snippet to your =dotspacemacs/user-config= function:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;; Make evil-mode up/down operate in screen lines instead of logical lines
|
||||
(define-key evil-motion-state-map "j" 'evil-next-visual-line)
|
||||
(define-key evil-motion-state-map "k" 'evil-previous-visual-line)
|
||||
;; Also in visual mode
|
||||
(define-key evil-visual-state-map "j" 'evil-next-visual-line)
|
||||
(define-key evil-visual-state-map "k" 'evil-previous-visual-line)
|
||||
(spacemacs/toggle-visual-line-navigation-globally-on)
|
||||
#+END_SRC
|
||||
|
||||
** Disable evilification of a mode?
|
||||
|
|
Loading…
Reference in New Issue