New answers tagged

1 vote

Capitalize a match in search and replace

For this specific task, an alternative approach is not to use a :substitute command at all! :%norm!$Bgul % # On every line, norm! # Run the normal mode commands: $ #...
user avatar
  • 28k

Top 50 recent answers are included