Reenable swap files, fix colorscheme setting

This commit is contained in:
Edward Litherland-Smith 2022-05-25 09:57:42 +01:00
parent bf523d819c
commit 4cd0ecbe46

24
vimrc
View file

@ -14,7 +14,6 @@ set t_TI=""
set t_TE="" set t_TE=""
set t_ut="" set t_ut=""
set noswapfile
set updatetime=1000 set updatetime=1000
set signcolumn=yes set signcolumn=yes
@ -26,30 +25,11 @@ if executable('ag')
let g:ackprg = 'ag --vimgrep' let g:ackprg = 'ag --vimgrep'
endif endif
colorscheme onehalfdark
if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolor") if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolor")
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors set termguicolors
let g:terminal_ansi_colors = [
\ '#282c34',
\ '#e06c75',
\ '#98c379',
\ '#e5c07b',
\ '#61afef',
\ '#c678dd',
\ '#56b6c2',
\ '#dcdfe4',
\ '#282c34',
\ '#e06c75',
\ '#98c379',
\ '#e5c07b',
\ '#61afef',
\ '#c678dd',
\ '#56b6c2',
\ '#dcdfe4'
\ ]
endif endif
colorscheme onehalfdark
set cursorline set cursorline
set laststatus=2 set laststatus=2
let mapleader="," let mapleader=","