Skip to content

Instantly share code, notes, and snippets.

@code-later
Created September 28, 2014 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save code-later/b8957348db680d7cd0a4 to your computer and use it in GitHub Desktop.
Save code-later/b8957348db680d7cd0a4 to your computer and use it in GitHub Desktop.
Basic vimrc
set nocompatible " Turn off vi-compatibility, must be the first config to set
filetype off " required for Vundle to work (See Vundle for details)
set encoding=utf-8
set timeout timeoutlen=1000 ttimeoutlen=100 " Fix slow O inserts from Gary Bernhardt
set shell=/bin/sh " some commands seem to have problems with zsh (i.e. RVM)
set cursorline " Highlight the line with the cursor
set hlsearch " highlight search
set incsearch " Incremental search, search as you type
set ignorecase smartcase " Ignore case when searching
set ttyfast " We got us a fast terminal (a.k.a. local machine)
set list listchars=trail:·,tab:>-,nbsp:¬,extends:»,precedes:« " Show invisble chars and tell how to display them
set nobackup " Don't make a backup before overwriting a file.
set nowritebackup " And again.
set noswapfile " Don't use swapfiles
set hidden " Handle multiple buffers better.
set laststatus=2 " Show the status line all the time
" Colors
syntax enable " Enable syntax highlighting
set t_Co=256 " 256 colors
set background=dark " Me like it dark
colorscheme pinkiepie " And me like it pink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment