Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kudos for reading all those docs and sharing some nuggets.

Does anyone else feel vim clumsy like the author? I'm trying to understand how one could accidentally lowercase a whole buffer, or trigger scary messages or open unrecognized menus. Not condescending, just curious. I find the q: thing relatable, but not the rest.



If you're at the top of the buffer, guG will lowercase the whole thing.

So if you open a file, go to type G to jump to a line, but accidentally hit g, then try to undo it with u out of habit, before hitting G again, you do the same thing.


While I had times discovering myself to accidentally putting 'i' accidentally into MS Word docs and having vim key binding ls in VS Code (and formally eclipse) as well for that reason, I still feel clumsy. I think this is because I mostly rely on muscle memory rather than understanding deeply what I am doing to also allow me to go beyond what I normally do ) which already makes me faster than in any other editor). I found VimSpeak [1] interesting because I somehow understood how to really compose vim commands in a way

[1] http://www.youtube.com/watch?v=TEBMlXRjhZY


I have been using it for 15+ years as my main editor and I still feel clumsy. I move doing jjjjjjjjjjj very often. I guess I have reached a local maxima and I don't want to invest the extra time on improving


I miss keys sometimes, but if it makes bad edits (it doesn't always!), I just hit `u` to undo.


Uh to be perfectly honest for the past … 30 years I’ve ran with a buddies vimrc and really never took the time to understand it; it was perfectly good lol and to this day I could not recreate it if I lost it.

> lowercase a whole buffer,

Happens a lot to me actually!

That and accidentally incrementing a numeric value haha..


Mind sharing your .vimrc file with the world? Would love to try it.



Most of it is commented very well. Also I like it because it has a little bit of personal character.

  > " Incrementally match the search.  I orignally hated this
  > " but someone forced me to live with it for a while and told
  > " me that I would grow to love it after getting used to it...
  > " turns out he was right :)
  > set incsearch


maybe throw it in your friendly neighborhood LLM




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: