Add visual line navigation keys, up and down
up evil-previous-visual-line down evil-next-visual-line
This commit is contained in:
parent
a55df96caa
commit
7af300a225
|
@ -839,6 +839,9 @@ Other:
|
|||
- ~SPC l w S~ =spacemacs/single-win-workspace=
|
||||
- Added ~SPC t C-S-l~ =spacemacs/toggle-visual-line-navigation-globally=
|
||||
(thanks to Matt Kramer)
|
||||
- Added visual-line-navigation keys (thanks to duianto)
|
||||
- ~up~ =evil-previous-visual-line=
|
||||
- ~down~ =evil-next-visual-line=
|
||||
- Improvements:
|
||||
- Rewrote window layout functions for ~SPC w 1~, ~SPC w 2~, ~SPC w 3~, and
|
||||
~SPC w 4~ (thanks to Codruț Constantin Gușoi):
|
||||
|
|
|
@ -586,7 +586,9 @@ a dedicated window."
|
|||
|
||||
(defun spacemacs//init-visual-line-keys ()
|
||||
(evil-define-minor-mode-key 'motion 'visual-line-mode "j" 'evil-next-visual-line)
|
||||
(evil-define-minor-mode-key 'motion 'visual-line-mode "k" 'evil-previous-visual-line))
|
||||
(evil-define-minor-mode-key 'motion 'visual-line-mode "k" 'evil-previous-visual-line)
|
||||
(evil-define-minor-mode-key 'motion 'visual-line-mode (kbd "<down>") 'evil-next-visual-line)
|
||||
(evil-define-minor-mode-key 'motion 'visual-line-mode (kbd "<up>") 'evil-previous-visual-line))
|
||||
|
||||
|
||||
;; Copy file path
|
||||
|
|
Loading…
Reference in New Issue