Live data from Hacker News

Learn Vim (the Smart Way): a book to learn the good parts of Vim

github.com

131–134 of 134 posts

Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim

#131
post #130

Earlier quoted context omitted.

As well as neovim and LSP.

I've had neovim installed for a while but really haven't found anything that would make me want to switch. Sure, I get the meta Neovim competition driving improvements in vim but I'd like to know what I'm missing out on.

It's been quite a bit faster than Vim, but perhaps Vim has caught up. I haven't checked it out in a while. Neovim supported asynchronous updates well before Vim, so also much more responsive until recently.

In any case my config is compatible with both and I can use them interchangeably.

Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim

#132
post #95

Earlier quoted context omitted.

I'm personally a fan of remapping jk or jj to esc, there barely any instances in the english language where you would use those two letters together, and it means you can leave insert mode whilst barely moving your hands :D

The first thing I put in my .vimrc on any system: inoremap jk I learned it through Spacemacs and it's one of the things that really made modal editing work for me, so I was thrilled to discover that Vim itself also supports it. (I'd tried to learn Vim before, but always having to jump over to the Escape key was a huge downer for me, and coming from Emacs I'd already mapped my CapsLock to Ctrl--though the idea of havi…

I use jk too. Happy with it. My .vimrc has this: set =jk I wonder what the difference is.

Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim

#133
post #3

Ah Vim, one of the root causes of my imposter syndrome. (The others are CSS Grid, and Kubernetes)

Kubernetes very easy to use, worth learning imho. One hour's worth effort yields great advantage for work. Vim not worth learning to use as adult. Time too valuable. Takes too long to become extension of body. Best learned as child/teenager. Time worthless then. Maybe if you can learn it fast. Took me years of teenage to get unthinking proficiency.

I also disagree. I learnt vim in my 50's and am using it daily now. In fact, I find that I use jk (which I've muscle-memoried to 'ESC' in nearly every application). Sometimes it doesn't work :-). But it did when I went on to learn org-mode during Covid-19 by parachuting with doom-emacs. There is no need to avoid learning the good stuff.

Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim

#134

I'm not a Vim master, but I use it a fair bit --mostly for writing server admin, single doc coding, etc. I think I know enough to do the basics like moving chunks of text around, copying/pasting etc. so that I feel fairly productive in that I can do those things as fast [or faster] in Vim as I could in a GUI editor.. But, any time I'm working on something more than a single doc [eg. a website, or a coding project] I…

ctrl-o/ctrl-i to move between buffers

list buffers w/ vim-buftabline

`nnoremap ; :Buffers`

Post reply on HN