Browse Source

Update vim & neovim config files

master
arnaucube 4 years ago
parent
commit
6957e46e1f
3 changed files with 10 additions and 8 deletions
  1. +4
    -2
      .vimrc
  2. +4
    -1
      init.vim
  3. +2
    -5
      vimconfigbase.vim

+ 4
- 2
.vimrc

@ -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

+ 4
- 1
init.vim

@ -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

+ 2
- 5
vimconfigbase.vim

@ -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
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>

Loading…
Cancel
Save