Skip to content

Setting clipboard to unnamed breaks substitute range. #20

Open
@diegomichel

Description

@diegomichel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions