Saturday, November 8, 2014

vim: surround plug bug

I believe this is easy to reproduce:

test string 1. hi hello world.
test string 2. hi hello world .

I want to surround hello world (generating -> hi "hello world").
using surround.vim plugin, if my cursor is within hello, but not on h,
the provided method is as following:
ys2aw"

if my cursor is on 'h' in hello, then this also works:
ys2w"

the first method save a move (b key) but does not work for test
string1, but works well for test string 2. I think this might be a
bug...


regards

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment