8/16/2023 0 Comments Clion remote debug![]() ![]() I'm not sure what the exact takeaway is from comparing our styles, but it's interesting to realize about how much of coding comes down to just navigating up/down/left/right. I also rely heavily on 'v' and ctrl+'v' to select arbitrary shapes of text for yanking/deleting. 'w' and '$' and '0' to move horizontally, with things like '5w' to move quickly 'j' and 'k' to move up and down, with '' or even something like '20j' to move quickly Other than the standard baseline of not touching the arrow keys, I use vim pretty differently: I need to be able to move around as close to the speed of thought as possible, and I have never found a tool that comes anywhere close to providing that ability as vim.Īlso, any chance I get to plug the greatest StackExchange answer ever, I will. ![]() Programming isn't about typing speed, but my work is often in doing large refactors in enormous codebases. There's plenty more beyond that, but that really is the "crux" of my vim usage, and from what I've seen watching over the shoulders of many programmers over the years, it makes me way faster than most. Lots of yanking and deleting to specific targets, be it hori or vert For vertical movement, I tend to use ctrl+'d'/'u' to move the document up and down in chunks, then specific line numbers, as well as marks (usually at most 2-3, with 'a', 'b', and 'c') to hold on to specific areas, or I just end up remembering line numbers and jumping to them. 'e' and 'k' rapidly, or 'h' and 'b' rapidly to move left and right, or using 'f'/'F' and a target character, with '0' and '$' as needed For me, my movement tends to center around: Vim is extremely expressive, and everyone ends up using it in slightly different ways. We've got younger guys on my team that hem and haw about the fact that we only have vim on our hardware implementation (SAMA5 busy box), and straight up don't understand why I basically can't use VSCode without the extension, and this article hits on so many good points. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |