System clipboard copy/paste using xclip. (#345)

System clipboard copy paste using xclip.Neovim doesn't require gvim.Use traditional yank and paste
This commit is contained in:
Antu Acharjee 2019-07-05 23:23:28 +06:00 committed by Luke Smith
parent d6335f9337
commit 9efb2b8312

View File

@ -24,7 +24,7 @@ set bg=light
set go=a
set mouse=a
set nohlsearch
set clipboard=unnamedplus
set clipboard+=unnamedplus
" Some basics:
nnoremap c "_c
@ -90,10 +90,6 @@ set clipboard=unnamedplus
autocmd BufRead,BufNewFile *.ms,*.me,*.mom,*.man set filetype=groff
autocmd BufRead,BufNewFile *.tex set filetype=tex
" Copy selected text to system clipboard (requires gvim/nvim/vim-x11 installed):
vnoremap <C-c> "+y
map <C-p> "+P
" Enable Goyo by default for mutt writting
" Goyo's width will be the line limit in mutt.
autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80