Current state of vim
This commit is contained in:
parent
6982276e8e
commit
57807cb5c2
30
vim/.vimrc
30
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 = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
endif
|
||||
" if exists('+termguicolors')
|
||||
" let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
" let &t_8b = "\<Esc>[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
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath = &runtimepath
|
||||
source ~/.vimrc
|
Loading…
Reference in New Issue
Block a user