nvim: clipboard is now internal again
This commit is contained in:
parent
c0827c076c
commit
bcc11ed3ad
@ -19,16 +19,24 @@ set showtabline=0
|
|||||||
" performance?
|
" performance?
|
||||||
set lazyredraw nocursorline ttyfast
|
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 = ","
|
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
|
set shell=/bin/sh
|
||||||
|
|
||||||
hi Search cterm=NONE ctermfg=white ctermbg=blue
|
hi Search cterm=NONE ctermfg=white ctermbg=blue
|
||||||
|
Loading…
Reference in New Issue
Block a user