Skip to content
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

Setting clipboard to unnamed breaks substitute range. #20

Open
diegomichel opened this issue Aug 10, 2020 · 0 comments
Open

Setting clipboard to unnamed breaks substitute range. #20

diegomichel opened this issue Aug 10, 2020 · 0 comments

Comments

@diegomichel
Copy link

Problem: When setting clipboard to unnamed <leader>siwip doesn't work as expected anymore. Removing the setting solves the issue.

Settings in .vimrc

set clipboard=unnamed
nmap <leader>s <plug>(SubversiveSubstituteRange)
xmap <leader>s <plug>(SubversiveSubstituteRange)
nmap <leader>ss <plug>(SubversiveSubstituteWordRange)

This is the error I get, if something happens to be yanked, instead of the error it works using the value of the register, instead of prompting the user.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant