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

Clipboard sharing broken: yankstack file could not be written with multiple vim instances open. #122

Open
simlei opened this issue May 21, 2018 · 1 comment

Comments

@simlei
Copy link

simlei commented May 21, 2018

With another vim instance open, this occurs:

Error detected while processing function EasyClip#Yank#YankMotion[5]..EasyClip#Yank#_YankLastChangedText[29]..EasyClip#Yank#OnYanksChanged[3]..EasyClip#Shared#SaveToFileIfDirty:      
line   19:
E482: Can't create file /home/simon/touchstone/modules/vim/unmanaged/easyClipShareYanks/.easyclip

I have set:

let g:EasyClipShareYanksDirectory = g:UnmanagedDataFolder('easyClipShareYanks') " has its own var for specifying filename
let g:EasyClipShareYanks = 1

I quote the doc:
EasyClip can automatically store the yank history to file, so that it can be
restored the next time you start Vim. Storing it to file also allows other
active Vim instances to seamlessly share the same clipboard and yank history.

@simlei simlei changed the title easyclip yankstack file could not be written with multiple vim instances open. Clipboard shariung broken: yankstack file could not be written with multiple vim instances open. May 21, 2018
@simlei simlei changed the title Clipboard shariung broken: yankstack file could not be written with multiple vim instances open. Clipboard sharing broken: yankstack file could not be written with multiple vim instances open. May 21, 2018
@simlei
Copy link
Author

simlei commented May 21, 2018

I have set other flags as well, but strictly by the book i.e. :h easyclip suggestions. For example, I am using the suggested x mapping for "cut".

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