Practical Vim, 2nd Edition - Second Half

So, I promised I’ld mention what goodies I find in the second half of Practical Vim, 2nd Edition. Here they are. Chapter 10, Copy and Paste First, the repetition of the insert mode <C-r>{register} command later in the book was something I found useful. I think that’s a pretty handy way to paste the contents of a register. I never knew that "+ let’s you access the system clipboard either. If you put the two together, you can quickly paste from the system clipboard without leaving insert mode with <C-r>+. The fact that yank stores a copy of what it copies in the 0 register is pretty handy too. Nice to have an alternate way to access the last yank if I’ve clobbered it. ...

May 26, 2017 · 9 min · 1735 words · Lewis Cawthorne

Practical Vim, 2nd Edition - First Half

Practical Vim is an excellent resource for tips and trick for using vim. It focuses on core vim features, and doesn’t spend any room talking about plugins. Aside from a few hints to how .vimrc settings might affect certain commands, it doesn’t spend any time telling you what to put in your .vimrc. It does have an appendix about vimrc settings, in case you need some new ones. The book is laid out as a series of 123 mostly standalone tips, although they do follow a procession of least to most difficult within their respective section. The tips are split between 20 sections. The book doesn’t attempt to go into Vimscript. Overall, I found it a useful collection of mostly non-obvious tips for using vim, and I feel like it has made me more capable in using my editor of choice. ...

May 22, 2017 · 6 min · 1167 words · Lewis Cawthorne