3 ms·
You can use marks in (n)vim for this! m<key> creates a mark. If <key> is a capital letter, you can jump to it across files. '<key> jumps to the line of the ma
by _7tgr 3y ago
You can use marks in (n)vim for this!
m<key> creates a mark. If <key> is a capital letter, you can jump to it across files.
'<key> jumps to the line of the mark.
`<key> jumps to the line + column of the mark.
Although this doesn't let you _edit_ at the mark. There's multiple cursor plugins for that, I suppose... (I'll note that macros are useful in a lot of the same ways as multiple cursors)
Edit: You can also use :vimgrep or another command that populates the quickfix list, and use :cdo to execute a command on every entry in the quickfix list.