VIM

VIM Git Source Tree

Root/vimrc

1if &cp | set nocp | endif
2let s:cpo_save=&cpo
3set cpo&vim
4
5set dir=/tmp " Directory for temporary files
6
7runtime bundle/vim-pathogen/autoload/pathogen.vim
8call pathogen#infect() " Enable pathogen 'package manager'
9
10if has("gui_running")
11 set cursorline " Highlight the current line
12 set guifont=Terminus\ 15 " Terminus font must be installed
13 set guioptions=aegit
14 set mouse=a
15else
16 set t_ti= t_te= " Avoid restoring screen at end of session
17 set mouse= " Let copy&paste with mouse work on SSH
18endif
19
20set modeline
21set notimeout " Don't timeout on mappings
22set ttimeout " Do timeout on terminal key codes
23set timeoutlen=100 " Timeout after 100 msec
24let g:proj_flags="mstvcg" " 'Project' flags
25set helplang=en
26
27colorscheme wombat256
28let &termencoding=&encoding
29set encoding=utf-8
30
31set listchars=tab:↔­,trail:·,precedes:⇐,extends:⇒
32set list
33set showmode
34set showcmd
35set showmatch
36set ruler
37set laststatus=2
38
39set incsearch
40set hlsearch
41set ignorecase
42set smartcase
43
44set autoindent
45set tabstop=8
46set shiftwidth=4
47set softtabstop=4
48
49set wrap
50set colorcolumn=72
51set textwidth=72
52set hidden
53set backspace=indent,eol,start
54
55set nobackup
56set nowritebackup
57
58filetype plugin indent on
59syntax enable
60
61let &cpo=s:cpo_save
62unlet s:cpo_save

Archive Download this file

Branches