Skip to content

Instantly share code, notes, and snippets.

@Erdk
Last active May 2, 2019 16:35
Show Gist options
  • Select an option

  • Save Erdk/d6874c63e4dee55aa449 to your computer and use it in GitHub Desktop.

Select an option

Save Erdk/d6874c63e4dee55aa449 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'airblade/vim-gitgutter'
Plugin 'tpope/vim-markdown'
call vundle#end()
set number
set expandtab
set shiftwidth=4
set tabstop=4
set modeline
set modelines=2
set autoindent
set cindent
set smartindent
syntax on
filetype plugin on
let c_space_errors=1
set foldmethod=indent
set foldnestmax=10
set nofoldenable
set foldlevel=2
set colorcolumn=80
set bs=2
set showtabline=2
set wildmenu
set t_Co=256
highligh clear SignColumn
if has('gui_running')
set guioptions=aegitm
endif
set spell spelllang=en_us
set nospell
" key bindings
map <F9> :tabnew<cr>
map <F10> :tabprev<cr>
map <F11> :tabnext<cr>
map <leader>tc :tabclose<cr>
map <leader>tm :tabmove
"tagbar & git
nmap <F8> :TagbarToggle<CR>
nmap <F7> :GitGutterLineHighlightsToggle<CR>
set pastetoggle=<F2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment