So, I got some text that I needed to look pretty, meaning all lines should be 96 chars wide but if more than 10 spaces would be needed to added in each line between words, it should remain the same… SO I looked at column, par, fmt, emacs .. then settled on vim !
mkdir ~/.vim
wget http://ftp.stust.edu.tw/vim/runtime/macros/justify.vim -O ~/.vim/justify.vim
echo "so ~/.vim/justify.vim" >> ~/.vimrc |
mkdir ~/.vim
wget http://ftp.stust.edu.tw/vim/runtime/macros/justify.vim -O ~/.vim/justify.vim
echo "so ~/.vim/justify.vim" >> ~/.vimrc
shift v # this will start visual selection mode
shift g # this will put you at the end of the file
:'<,'>Justify 96 10 |
shift v # this will start visual selection mode
shift g # this will put you at the end of the file
:'<,'>Justify 96 10
Anything you need about servers