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:
parent
1721c8d62b
commit
ea9f89d74e
2 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,6 @@ set fileformat=unix
|
||||||
set inccommand=split
|
set inccommand=split
|
||||||
set switchbuf=useopen
|
set switchbuf=useopen
|
||||||
|
|
||||||
set clipboard^=unnamed,unnamedplus
|
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set completeopt=menu,noselect,preview,noinsert
|
set completeopt=menu,noselect,preview,noinsert
|
||||||
" Required for vim-workspace
|
" Required for vim-workspace
|
||||||
|
|
|
@ -91,6 +91,8 @@ Plug 'justinmk/vim-dirvish'
|
||||||
Plug 'wsdjeg/vim-fetch'
|
Plug 'wsdjeg/vim-fetch'
|
||||||
" Show leader key bindings
|
" Show leader key bindings
|
||||||
Plug 'liuchengxu/vim-which-key'
|
Plug 'liuchengxu/vim-which-key'
|
||||||
|
" Clipboard
|
||||||
|
Plug 'christoomey/vim-system-copy'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue