paste-ts: Change key bindings to C-j/C-k
J was annoying for those who wanted to use join lines right after a paste.
This commit is contained in:
parent
7838ea6521
commit
86ab9e7eeb
|
@ -344,11 +344,11 @@ Example: (evil-map visual \"<\" \"<gv\")"
|
||||||
(spacemacs|define-transient-state paste
|
(spacemacs|define-transient-state paste
|
||||||
:title "Pasting Transient State"
|
:title "Pasting Transient State"
|
||||||
:doc "\n[%s(length kill-ring-yank-pointer)/%s(length kill-ring)] \
|
:doc "\n[%s(length kill-ring-yank-pointer)/%s(length kill-ring)] \
|
||||||
[_J_/_K_] cycles through yanked text, [_p_/_P_] pastes the same text above or \
|
[_C-j_/_C-k_] cycles through yanked text, [_p_/_P_] pastes the same text above or \
|
||||||
below. Anything else exits."
|
below. Anything else exits."
|
||||||
:bindings
|
:bindings
|
||||||
("J" evil-paste-pop)
|
("C-j" evil-paste-pop)
|
||||||
("K" evil-paste-pop-next)
|
("C-k" evil-paste-pop-next)
|
||||||
("p" evil-paste-after)
|
("p" evil-paste-after)
|
||||||
("P" evil-paste-before))
|
("P" evil-paste-before))
|
||||||
(when dotspacemacs-enable-paste-transient-state
|
(when dotspacemacs-enable-paste-transient-state
|
||||||
|
|
Loading…
Reference in a new issue