From f115d0b9fafc900e815cde91db4b8ba6103d9102 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 12 Feb 2021 20:28:05 -0700 Subject: Figure out proper yank instead of system. Every edit pollutes clipboard --- plugin/vim-options.vim | 4 +--- 1 file changed, 1 insertion(+), 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="\" " For easier copying -nnoremap y :call system('nc -w 1 127.0.0.1 41401', @0) +nnoremap y :let @+=@0 " type jj to get out of insert mode inoremap jj " Ctags for python project -- cgit v1.2.3