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

yank to register doesn't work #36

Closed
kjelly opened this issue May 1, 2021 · 6 comments
Closed

yank to register doesn't work #36

kjelly opened this issue May 1, 2021 · 6 comments

Comments

@kjelly
Copy link

kjelly commented May 1, 2021

yank to register doesn't work.

For example, when I type "ayy, it doesn't store anything in register a

NVIM v0.5.0-dev+1282-gfbe18d9ca

which-key.nimv version: 410523a

vimrc

set nocompatible              " be improved
filetype off                  " required before plugins

silent! call plug#begin('~/.config/nvim/plugged')
if has('nvim-0.5')
  Plug 'https://github.com/folke/which-key.nvim'
endif

call plug#end()

syntax enable
filetype plugin indent on     " required!

Thank you for your help.

@folke
Copy link
Owner

folke commented May 1, 2021

Damn, you're right. Will look into this. Thank you for reporting!

@folke
Copy link
Owner

folke commented May 1, 2021

This should be fixed now. Let me know if you have any more issues. Thanks!

@kjelly
Copy link
Author

kjelly commented May 1, 2021

It works. Thanks.

@kjelly kjelly closed this as completed May 1, 2021
@ouuan
Copy link

ouuan commented May 9, 2021

I'm not sure what this piece of code does, but I can't yank to the + register:

if M.reg ~= "\"" and M.reg ~= "+" and M.reg ~= "*" then

@folke
Copy link
Owner

folke commented May 9, 2021

@ouuan ok, I'll check once I'm home later today. So it's only the + register that's not working correct?

@folke folke reopened this May 9, 2021
@folke
Copy link
Owner

folke commented May 9, 2021

@ouuan the checks for + and * are indeed not necessary. I just pushed a fix. Let me know if you experience any more issues related to this. Thank you for reporting!

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

3 participants