2 ms·
With the substitute command and an appropriate range. This sort of operation is extremely rare, though, so it's not the sort of thing you worry about when you'r
by chongli 9y ago
With the substitute command and an appropriate range. This sort of operation is extremely rare, though, so it's not the sort of thing you worry about when you're using a limited environment that has vi with no ability to install vim.
Besides, it's far more common that you'd want to do an operation like this but the columns happen to be misaligned. Then you're reaching for substitute anyway. Might as well master the more flexible tool.