mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
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:
parent
d6335f9337
commit
9efb2b8312
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user