Additional options for everforest

This commit is contained in:
Andrew Scott 2022-04-03 22:24:11 -04:00
parent a05606f513
commit 02248cb8c2
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -1,8 +1,15 @@
" set leader key
let g:mapleader = "\<Space>"
" vim hardcodes background color erase even if the terminfo file does
" not contain bce (not to mention that libvte based terminals
" incorrectly contain bce in their terminfo files). This causes
" incorrect background rendering when using a color theme with a
" background color.
let &t_ut=''
syntax enable " Enables syntax highlighing
set hidden " Required to keep multiple buffers open multiple buffers
set hidden " Required to keep multiple buffers open
set nowrap " Display long lines as just one line
set encoding=utf-8 " The encoding displayed
set pumheight=10 " Makes popup menu smaller
@ -40,18 +47,49 @@ au! BufWritePost $MYVIMRC source % " auto source when writing to init.vim a
" You can't stop me
cmap w!! w !sudo tee %
" neovim-plug-git
"" Plugins
" Install neovim-plug-git from AUR
call plug#begin()
Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'Raimondi/delimitMate'
"Plug 'morhetz/gruvbox'
"Plug 'ryanoasis/vim-devicons'
"Plug 'neovim/nvim-lsp'
"Plug 'jackguo380/vim-lsp-cxx-highlight'
" A fuzzy file finder
Plug 'kien/ctrlp.vim'
" Comment/Uncomment tool
Plug 'scrooloose/nerdcommenter'
" Switch to the begining and the end of a block by pressing %
Plug 'tmhedberg/matchit'
" A Tree-like side bar for better navigation
Plug 'scrooloose/nerdtree'
" A cool status bar
Plug 'vim-airline/vim-airline'
" Airline themes
Plug 'vim-airline/vim-airline-themes'
" Better syntax-highlighting for filetypes in vim
Plug 'sheerun/vim-polyglot'
" Intellisense engine
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Git integration
Plug 'tpope/vim-fugitive'
" Auto-close braces and scopes
Plug 'jiangmiao/auto-pairs'
""Themes
" Everforest theme
Plug 'sainnhe/everforest'
" Nord
"Plug 'arcticicestudio/nord-vim'
call plug#end()
" Theme
"colorscheme gruvbox
" Important!!
if has('termguicolors')
set termguicolors
endif
" Set contrast.
" This configuration option should be placed before `colorscheme everforest`.
" Available values: 'hard', 'medium'(default), 'soft'
let g:everforest_background = 'medium'
" For better performance
let g:everforest_better_performance = 1
colorscheme everforest
" plug-in autostart
"augroup nerdtree_open