This issue doesn't happen on alacritty. Any idea why?
Manjaro-sway,packages foot and foot-git.
# HOW TO REPRODUCE
* On vimrc, add: imap <c-bs> <c-w>
* Open vim and press ctrl+backspace. It works.
* press ctrl+any other button
* Try ctrl+backspace again. It won't work.
This issue doesn't happen on alacritty. Any idea why?
Manjaro-sway,packages foot and foot-git.
You can work around it by setting t_TI and t_TE in your vimrc.
let &t_TI = "^[[>4;2m"
let &t_TE = "^[[>4m"
(^[ is a literal ESC - make sure that's what you enter. I.e. do not just copy paste the above).
Yes, known vim issue: https://github.com/vim/vim/issues/9014
You can work around it by setting `t_TI` and `t_TE` in your vimrc.
```
let &t_TI = "^[[>4;2m"
let &t_TE = "^[[>4m"
```
(`^[` is a literal ESC - make sure that's what you enter. I.e. do **not** just copy paste the above).
let &t_TI = "\<Esc>[>4;2m"
let &t_TE = "\<Esc>[>4m"
edit: corrected t_TI, to 4;2, not 4;1 (previous post was correct)
This _should_ be copy-pastable:
```
let &t_TI = "\<Esc>[>4;2m"
let &t_TE = "\<Esc>[>4m"
```
**edit**: corrected `t_TI`, to 4;2, not 4;1 (previous post was correct)
It's just that I thought the vim devs would finish https://github.com/vim/vim/issues/9014 pretty quickly. But doesn't look like it's going to happen anytime soon. So, a wiki entry it is!
No problem :)
I should add this to the wiki.
It's just that I thought the vim devs would finish https://github.com/vim/vim/issues/9014 pretty quickly. But doesn't look like it's going to happen anytime soon. So, a wiki entry it is!
HOW TO REPRODUCE
This issue doesn't happen on alacritty. Any idea why?
Manjaro-sway,packages foot and foot-git.
Yes, known vim issue: https://github.com/vim/vim/issues/9014
You can work around it by setting
t_TI
andt_TE
in your vimrc.(
^[
is a literal ESC - make sure that's what you enter. I.e. do not just copy paste the above).This should be copy-pastable:
edit: corrected
t_TI
, to 4;2, not 4;1 (previous post was correct)Thank you so much. Right on the money, that worked.
No way I could have solved this one by myself.
Again, thank you so much.
No problem :)
I should add this to the wiki.
It's just that I thought the vim devs would finish https://github.com/vim/vim/issues/9014 pretty quickly. But doesn't look like it's going to happen anytime soon. So, a wiki entry it is!
https://codeberg.org/dnkl/foot/wiki#user-content-ctrl-key-breaks-input-in-vim