Closed mkrasnitski closed 1 year ago
Could you post your alacritty config file? When I use the plugin in alacritty with default config it doesn't have this issue.
Sure, this is the relevant part of my config:
key_bindings:
# Vim expects these codes for <S-CR> and <C-CR>
- { key: Return, mods: Shift, chars: "\x1b[13;2u" }
- { key: Return, mods: Control, chars: "\x1b[13;5u" }
This issue is fixed in 6b1def5229a461eed076d4d7ecad531edbfcea97. Thanks for your feedback.
I run alacritty as my terminal, and that lets me properly map
<S-CR>
in the terminal by sending vim the keystrokes it expects. This causes problems with auto-indent though, as sometimes if I type quickly I'll pressShift+{
, then press enter while Shift is still pressed, and then the indentation won't trigger. I tried doinginoremap <S-CR> <CR>
but that didn't seem to work. Any ideas on how to solve this minor annoyance?