Timeline for Odd behaviour when pressing Tab with this mapping
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27, 2022 at 7:28 | vote | accept | Alvaro Neto | ||
Jun 6, 2022 at 17:40 | vote | accept | Alvaro Neto | ||
Jun 6, 2022 at 17:40 | |||||
Jun 6, 2022 at 13:54 | comment | added | Alvaro Neto | @MartinTournoij thanks for the explanation. I did try both <c-s-i> and <c-I>, I edited my question to reflect the latter because I guessed wrongly that it was the more "sophisticated" approach. Getting into mapping upper case letters doesn't seem worth the added complexity, from what I saw in the link you gave. | |
Jun 6, 2022 at 7:56 | comment | added | Martin Tournoij | Note that "Ctrl + upper-case letter" may be a bit outdated as it's 7 years old; I haven't looked in to it as I don't like to use multiple modifier keys, but make sure to follow up on Christian Brabandt's comment on my answer. | |
Jun 6, 2022 at 7:54 | comment | added | Martin Tournoij |
<C-i> is the tab character; on my terminal; see the text on bestasciitable.com for a bit of an explanation. On my terminal, <C-i> and <C-S-i> both generate a tab, but <S-i> generates <Esc>[Z . You can check by pressing <C-v> and then your keybinding (works in Vim insert mode, but also most shells) which inserts the "raw" characters the terminal sends. Mapping letters with both Ctrl+Shift can be tricky in general; see Can I map a Ctrl + upper-case letter separately from Ctrl + lower-case letter?
|
|
Jun 6, 2022 at 4:41 | answer | added | r_31415 | timeline score: 1 | |
Jun 6, 2022 at 0:10 | comment | added | Alvaro Neto | So, it seems that ctrl+shft+i and Tab are the same thing in Insert mode...? | |
Jun 6, 2022 at 0:06 | history | edited | Alvaro Neto | CC BY-SA 4.0 |
deleted 2 characters in body
|
S Jun 6, 2022 at 0:04 | review | First questions | |||
Jun 6, 2022 at 6:34 | |||||
S Jun 6, 2022 at 0:04 | history | asked | Alvaro Neto | CC BY-SA 4.0 |