3 ms·
I map 'S' to this in my .vimrc: nmap S :wall<cr> which saves all changed buffers into their respective files. It is probably the single most productive c
by bxparks 4y ago
I map 'S' to this in my .vimrc:
nmap S :wall<cr>
which saves all changed buffers into their respective files.
It is probably the single most productive customization in my .vimrc file. I save my files very often, and I usually have multiple files and buffers open. 'cc' is an alias for the old 'S', so I don't lose much.