syl20bnr/evil-escape

Weird indentation effect when using evil-escape-key-sequence?

Open

#69 opened on Jun 29, 2016

View on GitHub
 (9 comments) (2 reactions) (0 assignees)Emacs Lisp (43 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (236 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi, I'm having a little annoyance when using the evil-escape-key-sequence, basically when I do kj the indentation on the current line is modified. In the following animation I just want to add the close parenthesis ) in it's own line but keep it currently indented, so I just do RET and the ) gets correctly indented but as soon as I escape kj the ) moves out.

evil-escape

In the animation I do a second test but now pressing ESC and you can see it works fine without moving out the ), so it's only happening when using the key sequence.

Is there any magic setting I could use to avoid this effect?

Thanks

Contributor guide