4 ms·
58G 63f, 1. Go down to line 58 2. Jump to the 63rd comma 3. Edit
by izolate 6y ago
58G 63f,
1. Go down to line 58
2. Jump to the 63rd comma
3. Edit
- pluies 6y agoThis could lead you to the wrong place if, for example, some quoted values on this row contains commas, no?
- izolate 6y ago100%. It's not infallible. There are CSV plugins for Vim that bring increased confidence.
- alpaca128 6y agoIn those cases it gets a bit trickier but still relatively straightforward thanks to regex-based search. If needed frequently you can also just create a keybinding that does the regex typing for you. Though I'm usually in the position where I create this kind of file myself and so I just go with semicolons as column separators. Those are much less likely to cause such collisions.
- wcarss 6y agoFascinating, thanks! I had never seen/used `f` to navigate within a line like this -- I'm usually just typing /<string> and hitting enter to scan forward.