Eu vi alguns truques inteligentes de encontrar / substituir que fariam o trabalho, mas eu não posso, para a vida de mim, confiá-los à memória, então é uma coisa que eu uso (e recomendo) um plugin.
Usando Alinhar , isso se torna um mero
- VG (select all)
- <leader>tsp (align whitespace)
Da ajuda
--------------------------- *alignmap-Tsp*
Alignment Map Examples: \tsp *alignmap-tsp* {{{3
---------------------------
Normally Align can't use white spaces for field separators as such
characters are ignored surrounding field separators. The \tsp and
\Tsp maps get around this limitation.
Original: >
one two three four five
six seven eight nine ten
eleven twelve thirteen fourteen fifteen
<
Becomes: Select the lines, \tsp >
one two three four five
six seven eight nine ten
eleven twelve thirteen fourteen fifteen
<
Becomes: Select the lines, \Tsp >
one two three four five
six seven eight nine ten
eleven twelve thirteen fourteen fifteen
<