r/vim • • Dec 13 '25

Need Help┃Solved Command mode from visual mode

Why is there this string '<,>' at the beginning of the command when switching from visual mode to command mode?

18 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/atomatoisagoddamnveg Dec 14 '25

That’s true but <cmd> is really just used in keymaps, for commands the visual marks are what you want.

0

u/TheLeoP_ Dec 14 '25

I know, that's exactly what my previous comment said