Wednesday, September 28, 2011

Re: Is there a way to mimic textmate's "wrap each selected line in open/close tag" ?


should visualize the inner word, delete it, leave you in insert
mode where your double-quote appears.  OTOH,

   viwS"

visualizes the inner word, then deletes the entire line (except
leading whitespace, depending on your indentation settings),
leaves you in insert mode, where your double-quote appears.  If
you get behavior different from either of these, you likely have
some mapping interfering that you'd have to track down.

viwS" in my case is wrapping the word with double-quotes. I am using MacVim and janus.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: