Skip to content

Instantly share code, notes, and snippets.

@tonoriesco
Last active October 22, 2020 18:17
Show Gist options
  • Save tonoriesco/8424968faaee8a6a9f21efe4b89ae1f3 to your computer and use it in GitHub Desktop.
Save tonoriesco/8424968faaee8a6a9f21efe4b89ae1f3 to your computer and use it in GitHub Desktop.
" Installs:
"
" git clone https://github.com/preservim/nerdtree.git ~/.vim/pack/default/start/nerdtree
" vim -u NONE -c "helptags ~/.vim/pack/default/start/nerdtree/doc" -c q
" git clone https://github.com/gruvbox-community/gruvbox.git ~/.vim/pack/default/start/gruvbox
syntax on
set guicursor=
"set noshowmatch
"set nohlsearch
set hidden
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set noswapfile
set nobackup
set incsearch
set termguicolors
set scrolloff=8
au BufReadPost *.bean set syntax=python
set backspace=2
" Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable
" delays and poor user experience.
set updatetime=50
" Don't pass messages to |ins-completion-menu|.
set shortmess+=c
set colorcolumn=80
highlight ColorColumn ctermbg=0 guibg=lightgrey
" call plug#begin('~/.vim/plugged')
" Plug 'gruvbox-community/gruvbox'
"call plug#end()
let g:gruvbox_contrast_dark = 'hard'
if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
endif
let g:gruvbox_invert_selection='0'
colorscheme gruvbox
set background=dark
map <C-n> :NERDTreeToggle<CR>
let NERDTreeShowHidden=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment