Skip to main content
2 of 3
fix grammar and remove redundant/same keypress
3N4N
  • 5.9k
  • 1
  • 21
  • 49

How Can I Prevent Vim from Exiting Visual Mode

If I enter visual mode, select some text, then run a command or press a keybinding, it will exit visual mode afterward because it assumes I am done. But sometimes I want to do multiple things with that visual selection. How can I make Vim stay in visual mode unless I explicitly exit by pressing Escape?

Amarakon
  • 271
  • 2
  • 8