diff options
author | Cody Hiar <cody@hiar.ca> | 2021-02-12 20:28:05 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-02-12 20:28:05 -0700 |
commit | f115d0b9fafc900e815cde91db4b8ba6103d9102 (patch) | |
tree | 9fd33ba12742c62f3a030e282436cc0b3775e1ea /plugin | |
parent | 7858a0e1275e3acc6222fffcc2d46cf067d3fabe (diff) |
Figure out proper yank instead of system. Every edit pollutes clipboard
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 3e651e2..7260497 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -21,8 +21,6 @@ set backspace=2 " Make backspace work like most other programs set hidden " Allow hidden buffers, no complain about unsaved work set nostartofline " Don't jump cursor to start of line set spelllang=en_ca " Set spelling language to Canadian English -set clipboard=unnamedplus " Use the system clipboard - " Custom status line set statusline= @@ -69,7 +67,7 @@ endif " Set leader let mapleader="\<Space>" " For easier copying -nnoremap <leader>y :call system('nc -w 1 127.0.0.1 41401', @0)<CR> +nnoremap <leader>y :let @+=@0<CR> " type jj to get out of insert mode inoremap jj <ESC> " Ctags for python project |