vim plugin - How to remap a key in Vim with an internal blockwise visual mode call? -


i'm trying map key general function uses [surround.vim] take every line in paragraph , add parentheses. ex:

1 0 1 1 2 1 0 0 3 2 0 0 

to

(1 0 1 1) (2 1 0 0) (3 2 0 0) 

i can local macro output {j^v}k$hsb.

the map <c-t> {j\<c-v>}k$hsb told on irc use \<c-v> denote blockwise visual segment not work. i've tried variety of other solutions, no success far.

:map <c-t> {j<c-v>}k$hsb 

works me.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo