From 57807cb5c2e4676284a99f75f4ffe7bf1567b107 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Tue, 17 Jan 2023 23:02:47 +0100 Subject: [PATCH] Current state of vim --- vim/.vimrc | 30 ++++++++++++++++-------------- vim/config/plugins.vim | 1 + vim/nvim-init.vim | 3 --- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 3312d28..c34568f 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -20,17 +20,17 @@ filetype plugin on filetype plugin indent on set encoding=utf-8 -set signcolumn=number +" set signcolumn=number set mouse=n set foldmethod=syntax -if exists('+termguicolors') - let &t_8f = "\[38;2;%lu;%lu;%lum" - let &t_8b = "\[48;2;%lu;%lu;%lum" - set termguicolors -endif +" if exists('+termguicolors') +" let &t_8f = "\[38;2;%lu;%lu;%lum" +" let &t_8b = "\[48;2;%lu;%lu;%lum" +" set termguicolors +" endif " Use whitespace instead of tab set expandtab @@ -62,9 +62,15 @@ if (has("termguicolors")) set termguicolors endif -" colorscheme happy_hacking -" colorscheme evening -colorscheme kit +if exists("$LIGHTMODE") + set bg=light + let g:edge_style = 'light' +else + let g:edge_style = 'aura' +endif +let g:edge_better_performance = 1 + +colorscheme edge " Turn on the Wild menu set wildmenu @@ -99,14 +105,10 @@ source ~/.vim/config/keybindings.vim source ~/.vim/config/filetypes.vim " Transparency -hi Normal guibg=NONE ctermbg=NONE +" hi Normal guibg=NONE ctermbg=NONE " Prevent accidental writes to buffers that shouldn't be edited autocmd BufRead *.orig set readonly autocmd BufRead *.pacnew set readonly set nofoldenable -if exists("$LIGHTMODE") - set bg=light - colorscheme onehalflight -endif diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 5d12e0f..c6dd7f3 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -88,6 +88,7 @@ Plug 'pedrohdz/vim-yaml-folds' Plug 'rad4day/kit.vim' " Original by taDachs <3 if you read this I may owe you a kœri Plug 'altercation/vim-colors-solarized' Plug 'sonph/onehalf', { 'rtp': 'vim' } +Plug 'sainnhe/edge' " Git integration diff --git a/vim/nvim-init.vim b/vim/nvim-init.vim index f182e5b..e69de29 100644 --- a/vim/nvim-init.vim +++ b/vim/nvim-init.vim @@ -1,3 +0,0 @@ -set runtimepath^=~/.vim runtimepath+=~/.vim/after -let &packpath = &runtimepath -source ~/.vimrc