-
Notifications
You must be signed in to change notification settings - Fork 1
/
vimrc
68 lines (49 loc) · 1.19 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
set nocompatible
" Pathogen
execute pathogen#infect()
execute pathogen#helptags()
set statusline=%<\ %n:%f\ %m%r%y%=%-35.(line:\ %l\ of\ %L,\ col:\ %c%V\ (%P)%)
filetype plugin indent on
" Nerdtree
"autocmd VimEnter * NERDTree
autocmd VimEnter * wincmd p
let NERDTreeShowBookmarks=1
let NERDTreeChDirMode=0
let NERDTreeQuitOnOpen=0
let NERDTreeMouseMode=2
let NERDTreeShowHidden=1
let NERDTreeIgnore=['\.pyc','\~$','\.swo$','\.swp$','\.git','\.hg','\.svn','\.bzr']
let NERDTreeKeepTreeInNewTab=1
let g:nerdtree_tabs_open_on_gui_startup=0
set background=dark
set nu
set expandtab
set tabstop=4
set shiftwidth=4
set mouse=a
set whichwrap+=<,>,h,l,[,]
set t_Co=256
let g:molokai_original=1
let g:rehash256 = 1
colorscheme molokai
" tabs
let tabMinWidth=0
let tabMaxWidth=40
let tabMinWidthResized=15
let tabScrollOff=5
let tabEllipsis="..."
let tabDivideEquel=0
set showtabline=2
set ambiwidth=double
map <C-q>:tabp<cr>
map <C-w>:tabn<cr>
map <f9>:Tlist<CR>
"ctags : look for tags from . to home
set tags=./tags,tags;$HOME
"auto load plugins
"just copy the plugin directory in ~/.vim/bundle/
call pathogen#infect()
"Tagbar outliner
nmap <F8> :TagbarToggle<CR>
set hlsearch
set encoding=utf-8