esm7 / obsidian-vimrc-support

A plugin for the Obsidian.md note-taking software
MIT License
1.08k stars 49 forks source link

Yank to system clipboard no longer works #156

Closed krusse closed 1 year ago

krusse commented 1 year ago

Yank to system clipboard no longer works.

To Reproduce: yy

Environment (please complete the following information):

Additional context:

I still have set clipboard=unnamed in my .obsidian.vimrc, but I see that was recently deprecated. I don't see "a settings toggle" in the plugin settings as it says in that PR: image

Bug or am I missing something?

krusse commented 1 year ago

I solved it by adding unmap <C-c> into my .vimrc.

It is a bit of a mystery why I have never had to do this before. Anyway, solved.

jottr commented 1 day ago

How is this solved by adding unmap <C-c>?
If this solves the clipboard behavior somehow, then please add this to the relevant section in the README.

The README still suggests the following:

" Yank to system clipboard
set clipboard=unnamed**

For me, yy is broken on the current build of obsidian and a fresh install of this plugin.