Skip to content

Instantly share code, notes, and snippets.

@geopelia
Last active August 26, 2018 20:45
Show Gist options
  • Save geopelia/a9c20730a70abd65190ebff3a5ca3c89 to your computer and use it in GitHub Desktop.
Save geopelia/a9c20730a70abd65190ebff3a5ca3c89 to your computer and use it in GitHub Desktop.
mi vimrc
set nocompatible " choose no compatibility with legacy vi
syntax enable
"" Vundle plugin
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'davidhalter/jedi-vim'
Plugin 'kien/ctrlp.vim'
Plugin 'powerline/powerline'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
set encoding=utf-8
set showcmd
"" Whitespace
set nowrap " don't wrap lines
set tabstop=4 shiftwidth=4 " a tab is two spaces (or set this to 4)
set expandtab " use spaces, not tabs (optional)
set number " put line number
"" Searching
set hlsearch " highlight matches
set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment