In Vim, replace all spaces with underscores within the current or most recent visual selection: :’<,’>s/\v%V %V/_/g.

*****
Written on