Add: easy way to send esc to the shell layer#3170
Conversation
Add a simple key binding to send Esc in a terminal.
|
Ping 😁 ? |
|
|
|
That’s true. Perhaps another keybinding would be more suitable? |
|
@cljoly hello, maybe we should remove |
|
I think it would be a good idea to replace it with another binding too. |
|
@cljoly Hi, we will add new key binding |
|
That’s great, thanks @wsdjeg ! |
Problem: There is no way to send Esc to terminal Solution: revert Esc in terminal, add ctrl-` key binding to hide terminal from terminal mode. merge: #3170 BREAKING CHANGE: revert key binding `<Esc>` in terminal mode Co-authored-by: Clément Joly <oss@171819.xyz>
|
merged in: f6ac73b |
|
sorry, I have add |
The email should be |
Add a simple key binding to send Esc in a terminal.
PR Prelude
Thank you for working on SpaceVim! :)
Please complete these steps and check these boxes before filing your PR:
I preserved indentation in
shell.vim, despite the conventions, because it existed there. Let me know if you prefer I don’t adapt spacing.Why this change is necessary and useful?
Fairly often, you need to send the
<Esc>key in a terminal, especially withfzfto cancel current input. I think this change provides an handy way to do this, without changing existing habits.