I have a command to tidy up excessive whitespace in my code in vim:
" to tidy excess whitespace
map <leader>1 :execute ':%s#\s\+$##g'<CR>
My question is, if I have 10 tabs or buffers open, how can I apply this command to all of them, rather than just going to each one and applying the command.
Thanks, Stephen