Hello, In evil-mode, the evil-forward-char command restricts movement to the current line and does not allow highlighting the newline, in parallel with the behavior of vim. However, I have observed that even if I bind a key directly to forward-char in evil-mode, I still can not move to the next line or select the newline, though forward-char does work as expected if I leave evil-mode. Is there some way I re-enable the default behavior of forward-char in evil-mode? Thanks.
Hi Samir, On Thu, Jul 05 2012 (07:44), Samir Jindel <[email protected]> wrote:
Is there some way I re-enable the default behavior of forward-char in evil-mode?
It seems to me you are looking for `evil-cross-lines'. ,----[ C-h v evil-cross-lines RET ] | evil-cross-lines is a variable defined in `evil-vars.el'. | Its value is t | Original value was nil | | Documentation: | Whether motions may cross newlines. | | You can customize this variable. `---- This won't enable the "default behavior" of `forward-char' but $l results in the cursor being at the first char of the next line. Michael
participants (2)
-
Michael Markert -
Samir Jindel