From bd6f2e9dca070963dbcc9ee215961f6d24b0d01e Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 16 May 2024 18:06:30 -0400 Subject: [PATCH] Remove some stuff that checks for neovim since we know we're using neovim --- vim/config/settings.vim | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/vim/config/settings.vim b/vim/config/settings.vim index da9a838..4598f4c 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -14,28 +14,11 @@ set backspace=indent,eol,start "enables/configures standard backspace behaviour "use the '*' register as well as the '+' register if it's available too - set clipboard=unnamed - if has('unnamedplus') - if has('nvim') - set clipboard=unnamedplus - else - set clipboard+=unnamedplus - endif - endif - - if has('nvim') - "extend selection instead of showing the right click menu in neovim - set mousemodel=extend - else - "fancy mouse in vim reporting with xterm2 fallback - if has("mouse_sgr") - set ttymouse=sgr - else - set ttymouse=xterm2 - endif + set clipboard=unnamedplus endif + set mousemodel=extend "extend selection instead of showing the right click menu in neovim set mouse=a "enables mouse functionality with extended capabilities "8 colours in $TERM=linux, 256 elsewhere