I don't think this covers the main reason I only use vim occasionally: it is the only reasonable editor available over ssh by default on all VMs deployed in your typical org. Over there it usually has default settings, and it's not trivial to change configs or install other editors. Worthy attempt, looks cool, but I'm still stuck with having to learn the basics of moving a cursor around reasonably :(
Modeless Vim
241–250 of 398 posts
Re: Modeless Vim
#242My usual comment on any thread touching vim, as an answer to all hypothetical comments talking about how vim never clicked : Remap the Escape key to CapsLock else you will never like vim (provided you are a normal person) It's the most important key and you should punctuate all your inserts with it. So it'd better not be the key that's the furthest away from your fingers. The reason that's the case is an historical a…
Re: Modeless Vim
#243Re: Modeless Vim
#244T.b.h. I mostly use vim with keyboard movement in insert mode enabled, so ... 80% time I don't really use modes.
Have you tried remapping CapsLock to Escape so now you have a quick access to the most important key of your editor and can actually enjoy it ? Most vim users do it but they never talk about it and the beginners have no clue and suffer needlessly from this historical accident.
Re: Modeless Vim
#245> Instead of remembering cryptic commands I use vim and nothing about its commands are "cryptic" to me. You want to "go to definition"? You press "gd" as in "(g)o to (d)efinition". What's cryptic about this?
gd isn't a native vim command though :P This tool is intended for people who never use vim more than a few times a month or a year
Re: Modeless Vim
#246Micro is probably better at this point for such purpose. However I also have some customizations myself to use some kind of modeless commands to quickly select or move around, but I still model things around basic vim syntax and its fantastic move keys which keep me in the home all the time (e.g. Using alt+ghjk from insert, I move around, adding shit I select, without having to switch to move or visual mode)
Re: Modeless Vim
#247That’s a whole lot of code to not have to learn 10 keystrokes.
Re: Modeless Vim
#248I'd never heard of OP's, I'm sure we can work together to share ideas.
Re: Modeless Vim
#249Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…
There’s also Kakoune, which is very similar to Helix. See https://andreyor.st/posts/2023-09-20-why-kakoune/