Timeline for Binding a function which contains the movement command 'b' to 'nmap b'
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2020 at 14:18 | comment | added | filbranden |
Posted an answer... There's more to it, actually. If the % is indeed a typo, can you please edit your question to remove it? (If it's not a typo, can you explain why you had it?)
|
|
Apr 20, 2020 at 14:17 | answer | added | filbranden | timeline score: 2 | |
Apr 20, 2020 at 14:03 | comment | added | LUD | Perfect, thank you!! | |
Apr 20, 2020 at 13:39 | comment | added | filbranden |
Perhaps much simpler as a one-liner: nnoremap <expr> b col('.') > 1 ? 'b' : ''
|
|
Apr 20, 2020 at 13:38 | comment | added | filbranden |
You need to use normal! instead of normal to make that call non-recursive. (I don't get the % there, is that a typo?)
|
|
Apr 20, 2020 at 13:35 | review | First posts | |||
Apr 20, 2020 at 17:24 | |||||
Apr 20, 2020 at 13:31 | history | asked | LUD | CC BY-SA 4.0 |