-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Let's say I have the following emacs-lisp code and the cursor rests at the letter t on the :ensure t line.
(use-package evil-commentary
:ensure t
:config
(evil-commentary-mode +1))
If I do gcj, I'll get correct result. However, if I do gcgj, I'll get this:
(use-package evil-commentary
:ensure ;; t
;; :config
(evil-commentary-mode +1))
Note the ;; is in front of the letter t, instead for the entire line. This is not how vim behaves with the tpope/vim-commentary plugin.
This issue happens when (setq evil-respect-visual-line-mode t) as j/k are mapped to gj/gk respectively.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels