Browse Source

nvim add copy&paste from system clipboard

master
arnaucube 2 years ago
parent
commit
5ee21b885e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      init.vim

+ 4
- 0
init.vim

@ -182,6 +182,10 @@ au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit
" for file watching
set backupcopy=yes
" copy&paste from system clipboard
vnoremap <leader>y "+y
vnoremap <leader>p "+p
" shortcut for theme change
nnoremap <F9> :colorscheme gruvbox \| set background=dark \| highlight normal ctermbg=0 guibg=#000000 <CR>
nnoremap <F10> :colorscheme gruvbox \| set background=light<CR>

Loading…
Cancel
Save