You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While in insert mode, typing a brace or set of braces, and then immediately pressing enter, does not insert a matching closing brace. I tend to type quickly enough that this happens fairly frequently, and I find I've had to consciously slow down when opening braces/indents now.
The text was updated successfully, but these errors were encountered:
Nevermind, I was being led down a rabbit hole that wasn't there. Turns out Shift-Enter doesn't trigger auto-indent, and that's what was causing me problems. I tried doing inoremap <S-CR> <CR> but that doesn't seem to fix it. Any ideas on how to resolve this minor annoyance?
mkrasnitski
changed the title
Pressing enter too quickly does not insert matching closing brace.
Allow Shift-Enter to trigger auto-indent.
Jan 9, 2023
While in insert mode, typing a brace or set of braces, and then immediately pressing enter, does not insert a matching closing brace. I tend to type quickly enough that this happens fairly frequently, and I find I've had to consciously slow down when opening braces/indents now.
The text was updated successfully, but these errors were encountered: