Skip to content

Instantly share code, notes, and snippets.

@udnaan
Created November 12, 2016 02:04
Show Gist options
  • Save udnaan/d009b7c8c6f15bd9f1635b78f251bd8e to your computer and use it in GitHub Desktop.
Save udnaan/d009b7c8c6f15bd9f1635b78f251bd8e to your computer and use it in GitHub Desktop.
.vimrc
set clipboard=unnamed
set shell=bash
syntax on
set nocompatible " be iMproved, required
filetype off " required
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" " when indenting with '>', use 4 spaces width
set shiftwidth=4
" " On pressing tab, insert 4 spaces
set expandtab
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin('~/.vim/bundle')
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'octol/vim-cpp-enhanced-highlight'
let g:cpp_class_scope_highlight = 1
let g:cpp_experimental_template_highlight = 1
Plugin 'flazz/vim-colorschemes'
Plugin 'wincent/command-t'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
colorscheme molokai
nmap <silent> <C-p> <Plug>(CommandT)
nmap <silent> <C-b> <Plug>(CommandTBuffer)
nmap <silent> <C-j>j <Plug>(CommandTJump)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment