rebind keys to *-visual-line if visual-line-mode is enabled
Hi, When visual-line-mode is enabled, those emacs movement/deletions/.. keys will operate on visual line automatically. e.g, C-a to the beginning of visual line; C-k will kill current visual line. In evil-mode, why do we need additional keys to do that? Like g0, and dd will still kill the logical line, not visual line. Can we have the same behavior as emacs keys?
dd always operates on visual lines. Does g0dg$ do what you want (kill only the current visual line if I understand correctly)? We try not to break Vim compatibility unless we have a good reason to. On Sep 19, 2015 3:32 PM, "William Xu" <[email protected]> wrote:
Hi,
When visual-line-mode is enabled, those emacs movement/deletions/.. keys will operate on visual line automatically. e.g, C-a to the beginning of visual line; C-k will kill current visual line.
In evil-mode, why do we need additional keys to do that? Like g0, and dd will still kill the logical line, not visual line. Can we have the same behavior as emacs keys?
_______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
participants (2)
-
Gordon Gustafson -
William Xu