vim-config
vim-config copied to clipboard
copy on select in vim
I turn on the "copy to pasteboard on selection" option, but it does not take effect in nvim while use this repo as my config. While nvim -u specify an empty init.vim file, it take effect again. I've tried those bellow:
- uncomment all clipboard settings
- set clipboard=unnamedplus i local.vim
- set clipboard=unnamedplus in local.vim but it has no effect too.
What should I do about it?
Hi @sundar-h, can you tell me what's your output for :echo &clipboard when you start with nvim -u NONE?
In line no. 49 in config/general.vim -- try changing the set clipboard& clipboard^=unnamed,unnamedplus line to set clipboard& clipboard+=unnamedplus .. let me know.
btw, what's your OS?
Try set clipboard=unnamed @sundar-h