From 4cd0ecbe467a814479effc38a3a3b22fd4016c99 Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Wed, 25 May 2022 09:57:42 +0100 Subject: [PATCH] Reenable swap files, fix colorscheme setting --- vimrc | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/vimrc b/vimrc index 3c825fdf..751a9622 100644 --- a/vimrc +++ b/vimrc @@ -14,7 +14,6 @@ set t_TI="" set t_TE="" set t_ut="" -set noswapfile set updatetime=1000 set signcolumn=yes @@ -26,30 +25,11 @@ if executable('ag') let g:ackprg = 'ag --vimgrep' endif -colorscheme onehalfdark if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolor") - let &t_8f = "\[38;2;%lu;%lu;%lum" - let &t_8b = "\[48;2;%lu;%lu;%lum" set termguicolors - let g:terminal_ansi_colors = [ - \ '#282c34', - \ '#e06c75', - \ '#98c379', - \ '#e5c07b', - \ '#61afef', - \ '#c678dd', - \ '#56b6c2', - \ '#dcdfe4', - \ '#282c34', - \ '#e06c75', - \ '#98c379', - \ '#e5c07b', - \ '#61afef', - \ '#c678dd', - \ '#56b6c2', - \ '#dcdfe4' - \ ] endif +colorscheme onehalfdark + set cursorline set laststatus=2 let mapleader=","