nvim: Use vim-system-copy

Use this so we do not pollute clipboard history. Also since neovim
depends on a provider which transparently uses shell commands to
communicate with the system clipboard, it seems this adds around 80ms
to start up.

074.721: sourcing /usr/share/nvim/runtime/autoload/provider/clipboard.vim

This plugin should allow us to depend on it only when required.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-05-15 14:23:23 +05:30
parent 1721c8d62b
commit ea9f89d74e
2 changed files with 2 additions and 1 deletions

View file

@ -67,7 +67,6 @@ set fileformat=unix
set inccommand=split
set switchbuf=useopen
set clipboard^=unnamed,unnamedplus
set backspace=indent,eol,start
set completeopt=menu,noselect,preview,noinsert
" Required for vim-workspace

View file

@ -91,6 +91,8 @@ Plug 'justinmk/vim-dirvish'
Plug 'wsdjeg/vim-fetch'
" Show leader key bindings
Plug 'liuchengxu/vim-which-key'
" Clipboard
Plug 'christoomey/vim-system-copy'
call plug#end()