I want to do something like this : I select some piece of text and then press Ctrl-B and selected text is surrounded by ** or some other symbol of my choice. I was thinking that if I could mark the start and end positions of the selection somehow, I could map Ctrl-B to some key combination in visual mode that moves over these marks and puts the required text.
How can I do so?