News for hackers. Stuff that matters.
Re:Ten Years of Vim by omn1 on Monday May 21, 2018 @04:57AM (#17117044)
OP here. Thanks for the tips. I've used vim-sneak for quite a while (it's even built into Visual Studio Code's Vim plugin), but it just didn't work with me. I'm more of an easymotion (https://github.com/easymotion/vim-easymotion) type of guy. But even easymotion vanished from my workflow, because `/` works almost equally well for me and easymotion is not available on every system I use.

I guess what I'm trying to say is that I became more and more conservative about what external dependencies to rely on, because as soon as they become part of my workflow, I can't easily go back because they become part of muscle memory.

For vim-move I use `V` + `j,k` for the selection followed by `d` to delete and `p` for paste. Works quite well for me. The problem that I have with visual selections is, that I often want to "grow" a selection from inside of my current position. Say my cursor is inside parentheses, I'd like to hit a key repeatedly to select an ever growing region of text: first the entire content inside the parentheses, then including the parenthesis, then the entire line, then the entire function and so on. Is there a plugin for that?

Thanks for your article on buffers. Looks like a great workflow. What I'd like to have on top of that is a way to open a buffer based on the contents of a file. Say I have a file somewhere that contains a specific function, `myFunction()`. I'd love to just start typing `myFu` and vim would suggest the correct file to open. Bonus points for handling typos, e.g. `ymFu` should also work.

Re:Ten Years of Vim by edanm on Monday May 21, 2018 @08:19AM (#17117819)
I think vim-expand-region (https://github.com/terryma/vim-expand-region) is what you're looking for.

It allows you to repeatedly 'v' to select ever larger parts of text.

Re:Ten Years of Vim by omn1 on Tuesday May 22, 2018 @04:45PM (#17129274)
Well that's exactly what I was looking for. Thank you!
Re:Ten Years of Vim by darthlucio on Monday May 21, 2018 @08:51AM (#17117983)
For content-based buffer opening, I use fzf's Tags command - it fuzzy searches ctags and open the file containing the definition.