Update vim & neovim config files

This commit is contained in:
arnaucube
2020-10-17 10:22:12 +02:00
parent 0a34177946
commit 6957e46e1f
3 changed files with 10 additions and 8 deletions

6
.vimrc
View File

@@ -2,11 +2,13 @@ source ~/vimconfigbase.vim
call plug#begin(expand('~/.vim/plugged'))
Plug 'jaredgorski/spacecamp'
Plug 'liuchengxu/space-vim-dark'
call plug#end()
set termguicolors
colorscheme spacecamp
colorscheme space-vim-dark
set background=dark
highlight normal ctermbg=0 guibg=#000000

View File

@@ -176,7 +176,7 @@ au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit
set backupcopy=yes
" shortcut for theme change
nnoremap <F9> :colorscheme molokai \| set background=dark<CR>
nnoremap <F9> :colorscheme gruvbox \| set background=dark \| highlight normal ctermbg=0 guibg=#000000 <CR>
nnoremap <F10> :colorscheme gruvbox \| set background=light<CR>
" colorscheme
@@ -184,6 +184,9 @@ let g:gruvbox_contrast_dark = 'hard'
let g:gruvbox_contrast_light = 'hard'
let g:srcery_italic = 1
set background=dark
" colorscheme molokai
colorscheme gruvbox
highlight normal ctermbg=0 guibg=#000000

View File

@@ -6,7 +6,6 @@ set title
set titlestring=nvim-%F
set t_Co=256
set cursorline
set background=dark " for the dark version
" abbreviations
cnoreabbrev W! w!
@@ -35,10 +34,8 @@ tnoremap jk <C-\><C-n>
set scrolloff=5 " keep at least 5 lines above/below
set sidescrolloff=5 " keep at least 5 lines left/right
" colorscheme torte
set background=dark
hi statusline ctermfg=234 ctermbg=250
hi LineNr ctermfg=246
" line length
" set textwidth=80
" toggle for paste mode
set pastetoggle=<F3>