Uchechukwu Onyekwuluje's Knowledge & Brain Dumps

Vim/vi Tips and Ticks

Systems administration in linux involves working with files. Lots of files. You have various tools at your disposal, vim, emacs etc. This post is geared at some of the commands seldom used by me but which makes my config updates cleaner and eases pain of manual changes at scale

Removing Whitespaces at the end of a line
This comes in handy when you need to strip whitespaces at the end of the line. Makes your git commits clean

:%s/\s\+$//e