12345678910111213141516171819202122232425262728 |
- execute pathogen#infect()
- set nocompatible
- syntax on
- filetype plugin on
- set number
- set tabstop=2
- set expandtab
- set shiftwidth=2
- set smartindent
- set autoindent
- set backspace=indent,eol,start
- set shiftround
- set ignorecase
- set showmode
- set ruler
- set showcmd
- set background=dark
- set mouse=a
- " Keep undo history across sessions by storing it in a file
- if has('persistent_undo')
- let myUndoDir = expand('$HOME/.vimundodir')
- " Create dirs
- call system('mkdir ' . myUndoDir)
- let &undodir = myUndoDir
- set undofile
- endif
|