Current state of vim

This commit is contained in:
Tobias Manske 2023-01-17 23:02:47 +01:00
parent 6982276e8e
commit 57807cb5c2
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A
3 changed files with 17 additions and 17 deletions

View File

@ -20,17 +20,17 @@ filetype plugin on
filetype plugin indent on filetype plugin indent on
set encoding=utf-8 set encoding=utf-8
set signcolumn=number " set signcolumn=number
set mouse=n set mouse=n
set foldmethod=syntax set foldmethod=syntax
if exists('+termguicolors') " if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" " let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" " let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors " set termguicolors
endif " endif
" Use whitespace instead of tab " Use whitespace instead of tab
set expandtab set expandtab
@ -62,9 +62,15 @@ if (has("termguicolors"))
set termguicolors set termguicolors
endif endif
" colorscheme happy_hacking if exists("$LIGHTMODE")
" colorscheme evening set bg=light
colorscheme kit 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 " Turn on the Wild menu
set wildmenu set wildmenu
@ -99,14 +105,10 @@ source ~/.vim/config/keybindings.vim
source ~/.vim/config/filetypes.vim source ~/.vim/config/filetypes.vim
" Transparency " Transparency
hi Normal guibg=NONE ctermbg=NONE " hi Normal guibg=NONE ctermbg=NONE
" Prevent accidental writes to buffers that shouldn't be edited " Prevent accidental writes to buffers that shouldn't be edited
autocmd BufRead *.orig set readonly autocmd BufRead *.orig set readonly
autocmd BufRead *.pacnew set readonly autocmd BufRead *.pacnew set readonly
set nofoldenable set nofoldenable
if exists("$LIGHTMODE")
set bg=light
colorscheme onehalflight
endif

View File

@ -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 'rad4day/kit.vim' " Original by taDachs <3 if you read this I may owe you a kœri
Plug 'altercation/vim-colors-solarized' Plug 'altercation/vim-colors-solarized'
Plug 'sonph/onehalf', { 'rtp': 'vim' } Plug 'sonph/onehalf', { 'rtp': 'vim' }
Plug 'sainnhe/edge'
" Git integration " Git integration

View File

@ -1,3 +0,0 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc