nvim: clipboard is now internal again

This commit is contained in:
dogeystamp 2023-07-03 19:02:56 -04:00
parent c0827c076c
commit bcc11ed3ad
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -19,16 +19,24 @@ set showtabline=0
" performance?
set lazyredraw nocursorline ttyfast
" use system clipboard instead of internal
set clipboard=unnamedplus
" when using c or s, do not overwrite clipboard
nnoremap c "-c
vnoremap c "-c
nnoremap s "-s
vnoremap s "-s
let mapleader = ","
" " use system clipboard instead of internal
" set clipboard=unnamedplus
" " when using c or s, do not overwrite clipboard
" nnoremap c "-c
" vnoremap c "-c
" nnoremap s "-s
" vnoremap s "-s
" easier binds to use system clipboard with
nnoremap <leader>cy "+yy
vnoremap <leader>cy "+y
vnoremap <leader>cd "+d
nnoremap <leader>cd "+dd
nnoremap <leader>cp "+p
nnoremap <leader>cP "+P
set shell=/bin/sh
hi Search cterm=NONE ctermfg=white ctermbg=blue