Skip to main content
12 events
when toggle format what by license comment
Mar 25, 2020 at 5:44 comment added B Layer Yeah when you mix quoting and indirect execution you can often throw logic or common sense right out the window (see: Bash). :)
Mar 25, 2020 at 5:42 comment added dedowsdi Thanks for the digging. It's the first time I see the valid use of \<c-..> in single qutoe, it's so hard to swallow. Another work around is com! Test0 nnoremap <lt>c-j> :echom "c-j"<cr>.
Mar 25, 2020 at 5:40 history edited B Layer CC BY-SA 4.0
note about other exceptions for <nl> and <cr>
Mar 25, 2020 at 5:16 comment added B Layer Could be a bug. Could be a necessary compromise. Knowing a little bit about parsers I can envision a scenario where something like <c-h> would both do its action but still be picked up as a legal mapping character, too. Their actions (moving the cursor) don't have much impact on things in this scenario but command submission (!) absolutely still could.
Mar 25, 2020 at 5:08 history edited B Layer CC BY-SA 4.0
fixed typo
Mar 25, 2020 at 4:59 history edited B Layer CC BY-SA 4.0
added 92 characters in body
Mar 25, 2020 at 4:52 comment added B Layer Alas, I retracted my definitive analysis for something less satisfying. :)
Mar 25, 2020 at 4:51 history edited B Layer CC BY-SA 4.0
new info, less conclusion
Mar 25, 2020 at 4:25 comment added B Layer Yeah...the order things are happening is a little different than what I said I believe...updating my answer
Mar 25, 2020 at 3:39 comment added dedowsdi There is also :h c_CTRL-H and :h c_CTRL-L, why would Test1 and Test2 work? <c-right> also have special meaning in command line mode.
Mar 25, 2020 at 3:32 comment added dedowsdi Thanks. I thought keycodes only have special meaning in map family commands, I must be wrong. Could you point me where can I find keycode have special meaning in command in help?
Mar 25, 2020 at 3:16 history answered B Layer CC BY-SA 4.0