Skip to content

Instantly share code, notes, and snippets.

@shyamgupta
Created August 22, 2020 22:51
Show Gist options
  • Save shyamgupta/b7f913c4fb572886aa5e30133ff854f6 to your computer and use it in GitHub Desktop.
Save shyamgupta/b7f913c4fb572886aa5e30133ff854f6 to your computer and use it in GitHub Desktop.
syntax on
set noerrorbells
set bs=2
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set noswapfile
set nobackup
set undodir=~/.vim/undodir
set undofile
set incsearch
set colorcolumn=80
highlight ColorColumn ctermbg=0 guibg=lightgrey
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'https://github.com/ctrlpvim/ctrlp.vim.git'
Plug 'https://github.com/ycm-core/YouCompleteMe.git'
Plug 'https://github.com/mbbill/undotree.git'
Plug 'https://github.com/preservim/nerdtree.git'
call plug#end()
colorscheme slate
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
set background=dark
" NERD Tree Settings
nmap <C-f> :NERDTreeToggle<CR>
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment