Skip to content

Instantly share code, notes, and snippets.

@pareshchouhan
Created November 16, 2017 11:02
Show Gist options
  • Save pareshchouhan/011f5042e4cf08ad2e6d5e3603a1fda2 to your computer and use it in GitHub Desktop.
Save pareshchouhan/011f5042e4cf08ad2e6d5e3603a1fda2 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'wincent/command-t'
call vundle#end()
filetype plugin indent on
" ## General
set number " # Show line numbers
set linebreak " # Break lines at word (requires Wrap lines)
set showbreak=+++ " # Wrap-broken line prefix
set textwidth=100 " # Line wrap (number of cols)
set showmatch " # Highlight matching brace
set visualbell " # Use visual bell (no beeping)
set hlsearch " # Highlight all search results
set smartcase " # Enable smart-case search
set ignorecase " # Always case-insensitive
set incsearch " # Searches for strings incrementally
set autoindent " # Auto-indent new lines
set cindent " # Use 'C' style program indenting
set expandtab " # Use spaces instead of tabs
set shiftwidth=2 " # Number of auto-indent spaces
set smartindent " # Enable smart-indent
set smarttab " # Enable smart-tabs
set softtabstop=2 " # Number of spaces per Tab
" ## Advanced
set ruler " # Show row and column ruler information
set undolevels=1000 " # Number of undo levels
set backspace=indent,eol,start " # Backspace behaviour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment