Hi all, 

Quick tip I’d like to share - every now and then I accidentally add a space on 
the end of lines of code. 

You can highlight this occurring in vim by adding the following to your .vimrc 
file:

highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/

Probably most vi/vim users know this, but to remove newlines, you can use the 
following:

:%s/ \+$//g

Chris
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to