From 236299b2d1de341181fa6b3f8c5e77a6bd2d8d27 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 8 Jul 2018 00:59:51 -0300 Subject: Make J and K in Emacs visual mode to move lines --- spacemacs.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spacemacs.el b/spacemacs.el index 02aa063..d3aaf9d 100644 --- a/spacemacs.el +++ b/spacemacs.el @@ -256,6 +256,14 @@ It should only modify the values of Spacemacs settings." ;; (default "C-M-m") dotspacemacs-major-mode-emacs-leader-key "C-M-m" + ;; If non-nil, the shift mappings `<' and `>' retain visual state if used + ;; there. (default t) + dotspacemacs-retain-visual-state-on-shift t + + ;; If non-nil, `J' and `K' move lines up and down when in visual mode. + ;; (default nil) + dotspacemacs-visual-line-move-text t + ;; These variables control whether separate commands are bound in the GUI to ;; the key pairs `C-i', `TAB' and `C-m', `RET'. ;; Setting it to a non-nil value, allows for separate commands under `C-i' -- cgit v1.2.3