tpope / vim-surround

surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
https://www.vim.org/scripts/script.php?script_id=1697
13.42k stars 445 forks source link

Change don't work in MacVim #92

Open samuelsimoes opened 11 years ago

samuelsimoes commented 11 years ago

Hi guys,

In my MacVim nothing happen with the change command like cs"', the only thing that happens is the cursor go to the beginnig of the line. Via terminal everything works fine.

Thanks!

tpope commented 11 years ago

One obvious thing to try fiddling with is the 'clipboard' option.

jwhitley commented 11 years ago

FWIW, I'm unable to reproduce this problem. cs works fine for me in MacVim 7.3-66 built via homebrew. @samuelsimoes, perhaps there's something in your .vimrc that's causing a conflict. I'll recommend some triage steps:

  1. Try an absolutely minimal .vimrc with vim-surround. That will identify whether there's a conflict with some setting or plugin you're using.
  2. Progressively comment out settings/plugins until cs works with your usual .vimrc in MacVim.
ryentzer commented 11 years ago

Using a capital 'S' works for me i MacVim, not the lowercase 's'. See this http://bit.ly/1840zvq.

qstrahl commented 11 years ago

This is the expected behaviour