-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
surround-vim can't work with yankstack simultaneusly #9
Comments
I also use vim-surround, together with yankstack. They are compatible. Here's the situation: What you're seeing is the default behavior of the
This will cause yankstack to set up its key-bindings immediately, before vim-surround gets loaded. Let me know if this fixes it for you. I want to make sure I don't interfere with anybody's use of vim-surround. |
Thanks. The line solved the issue. |
While this solution prevents 'S' (uppercase) from being clobbered by yankstack, 's' (lowercase) still deletes the selection in visual mode.
|
@jbmartin, can you describe the behavior that you expect and the behavior you're observing? |
According to the surround documentation, typing |
This might be a moot point. |
As far as I know, vim-surround does not map 's' in visual mode, only capital 'S'. |
You're right. Apparently, I haven't updated my surround.vim documentation in awhile. 's' was removed here. |
I use tpope's surround-vim plugin. When I have both surround.vim and yankstack installed I can't surround objects in visual mode. For example if I have a visually selected word, pressing S" suppose to produce "word", but instead i get _, and i end up in the insert mode.
The text was updated successfully, but these errors were encountered: