Live data from Hacker News

Show HN: I built an online interactive course that helps you learn Vim faster

vim.so

281–283 of 283 posts

Re: Show HN: I built an online interactive course that helps you learn Vim faster

#281
post #280

Earlier quoted context omitted.

> backspace on the start of the line doesn't seem to move the cursor at all. AFAIK that's controlled by "set backspace=" and thus will vary based on one's .vimrc (or the system vimrc, installed by the package manager): https://stackoverflow.com/questions/18777705/vim-whats-the-d... One can see the current value of the backspace setting via :echo &backspace

Actually, the 'backspace' setting only governs what the backspace key does in Insert mode. In Normal mode, which is what I was referring to in GP, has the behavior I describe regardless of how 'backspace' is configured.

Ah, my apologies; I had never considered using backspace as a navigation operation. I would guess vim does not offer customization over what the backspace key does for the same reason they don't allow changing how many spaces pressing Tab while in Normal mode moves the cursor forward, either

I was inspired by this newfound "using unexpected keys for navigation" discovery and found that (at least in my vim 8.2) holding down space in Normal mode similarly travels across the EOL boundary, just as backspace reverses that trend, so at least it's consistent

Re: Show HN: I built an online interactive course that helps you learn Vim faster

#282

Earlier quoted context omitted.

I find that vim really shines in editing text on touch screens with on-screen keyboards. I can do complicated commands without doing too much typing out digging through menus or using ctrl alt whatever keys.

What devices with on-screen keyboards are you running vim in?

Just my cellphone.

Re: Show HN: I built an online interactive course that helps you learn Vim faster

#283
post #280

Earlier quoted context omitted.

Actually, the 'backspace' setting only governs what the backspace key does in Insert mode. In Normal mode, which is what I was referring to in GP, has the behavior I describe regardless of how 'backspace' is configured.

Ah, my apologies; I had never considered using backspace as a navigation operation. I would guess vim does not offer customization over what the backspace key does for the same reason they don't allow changing how many spaces pressing Tab while in Normal mode moves the cursor forward, either I was inspired by this newfound "using unexpected keys for navigation" discovery and found that (at least in my vim 8.2) holdin…

> they don't allow changing how many spaces pressing Tab while in Normal mode moves the cursor forward

I'm pretty sure vanilla Vim doesn't do anything when pressing Tab in Normal mode - at least for me it certainly doesn't move the cursor.

Post reply on HN