VIM: Difference between revisions

43 bytes added ,  4 February 2021
→‎Useful commands: Remove trailing whitespaces
→‎Instructions: Save a useful macro and retrieve for later use
→‎Useful commands: Remove trailing whitespaces
Line 286: Line 286:
;Set tab to 4 spaces
;Set tab to 4 spaces
:set expandtab ts=4 sw=4 ai
:set expandtab ts=4 sw=4 ai
;Remove trailing whitespaces
:%s/\s\+$//e


= gvim on Windows 10 =
= gvim on Windows 10 =