Ultra-light align

2 Points

Romain Lafourcade Romain Lafourcade

8 years ago

Ultra lightweight aligning.

function! Align()
    '<,'>!column -t|sed 's/  \(\S\)/ \1/g'
    normal gv=
endfunction

xnoremap <silent> <F5> :<C-u>silent call Align()<CR>