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

Doesn't replace highlighted selection in visual mode #40

Open
tecfu opened this issue Mar 27, 2023 · 0 comments
Open

Doesn't replace highlighted selection in visual mode #40

tecfu opened this issue Mar 27, 2023 · 0 comments

Comments

@tecfu
Copy link

tecfu commented Mar 27, 2023

Issue

As a user with selected text in visual mode
I want to replace that text with a selection from the yank history
so that coc-yank works like similar plugins

Steps to Repeat

  • Select text in visual mode
  • Open the coc-yank list via the keybinding y (given the binding below):
vnoremap <silent> <space>y  :CocList -A yank<cr>
  • Hit enter on a given entry from the list

Result

  • The previously highlighted word will not be entirely replaced

Expected Result

  • The previously highlighted word is entirely replaced
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