Skip to main content
3 of 3
added 6 characters in body; edited title
Vivian De Smedt
  • 21.1k
  • 5
  • 22
  • 40

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