annotate rc/vimrc @ 381:bb6ea516f312

Merge commit '61bf33d' into rhel5
author Edho Arief <edho@myconan.net>
date Tue, 24 Jul 2012 17:56:24 -0400
parents 0adc967bafda
children e1f07d9d6937
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
1 set showmode
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
2 set showcmd
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
3 set nomodeline
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
4 set autoindent
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
5 set lazyredraw
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
6 set vb t_vb=
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
7 set ruler
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
8 set nohls
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
9 set nocompatible
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
10 set backspace=2
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
11 set esckeys
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
12 set noerrorbells
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
13 set ts=2
39ef7f7236fc Added vimrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
14 set expandtab
32
2cf5492ac78d Vim title.
Edho Prima Arief <me@myconan.net>
parents: 3
diff changeset
15 set title
339
1d88cefc7aca [vimrc] set list for tab-squashing.
Edho Arief <edho@myconan.net>
parents: 336
diff changeset
16 set list
33
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
17
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
18 map <C-t><up> :tabr<cr>
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
19 map <C-t><down> :tabl<cr>
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
20 map <C-t><left> :tabp<cr>
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
21 map <C-t><right> :tabn<cr>
35
a8dc309a1b8a Misc adjusments for vim keys
Edho Prima Arief <me@myconan.net>
parents: 33
diff changeset
22 map <C-t>p :tabp<cr>
a8dc309a1b8a Misc adjusments for vim keys
Edho Prima Arief <me@myconan.net>
parents: 33
diff changeset
23 map <C-t>n :tabn<cr>
33
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
24 map <C-t><C-t> :NERDTreeToggle<cr>
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
25 map <C-t><C-m> :NERDTreeMirror<cr>
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
26
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
27 "autocmd VimEnter * NERDTree
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
28 "autocmd BufEnter * NERDTreeMirror
330587be514c Better vim support.
Edho Prima Arief <me@myconan.net>
parents: 32
diff changeset
29
329
ea82caf6c059 Added test to verify vim version (lite or full).
Edho Arief <edho@myconan.net>
parents: 315
diff changeset
30 if has('syntax')
ea82caf6c059 Added test to verify vim version (lite or full).
Edho Arief <edho@myconan.net>
parents: 315
diff changeset
31 syntax on
ea82caf6c059 Added test to verify vim version (lite or full).
Edho Arief <edho@myconan.net>
parents: 315
diff changeset
32 set background=dark
336
f0771672c559 [rc/vimrc] Forces transparent background for vim on gnome-terminal.
Edho Arief <edho@myconan.net>
parents: 329
diff changeset
33 let g:solarized_termtrans=1
329
ea82caf6c059 Added test to verify vim version (lite or full).
Edho Arief <edho@myconan.net>
parents: 315
diff changeset
34 colorscheme solarized
ea82caf6c059 Added test to verify vim version (lite or full).
Edho Arief <edho@myconan.net>
parents: 315
diff changeset
35 endif
350
47fbc05cacce vim per file control.
Edho Arief <edho@myconan.net>
parents: 339
diff changeset
36
47fbc05cacce vim per file control.
Edho Arief <edho@myconan.net>
parents: 339
diff changeset
37 if has("autocmd")
47fbc05cacce vim per file control.
Edho Arief <edho@myconan.net>
parents: 339
diff changeset
38 autocmd BufRead,BufNewFile supervisord.conf :set ft=dosini
353
dd0b17d4b57a Gemfile is ruby.
Edho Arief <edho@myconan.net>
parents: 350
diff changeset
39 autocmd BufRead,BufNewFile Gemfile :set ft=ruby
357
71737a78d366 More predefined vim file.
Edho Arief <edho@myconan.net>
parents: 353
diff changeset
40 autocmd BufRead,BufNewFile crontab.* :set noet ts=8 nolist
71737a78d366 More predefined vim file.
Edho Arief <edho@myconan.net>
parents: 353
diff changeset
41 autocmd BufRead,BufNewFile crontab :set noet ts=8 nolist
369
0adc967bafda Added vim rule for fstab.
Edho Arief <edho@myconan.net>
parents: 362
diff changeset
42 autocmd BufRead,BufNewFile fstab :set noet ts=8 nolist
358
b4f92c167f5b Even more vimrc rules (git commit message).
Edho Arief <edho@myconan.net>
parents: 357
diff changeset
43 autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG :set noet ts=8 nolist
362
909b9fc4203e More git exception on vim.
Edho Arief <edho@myconan.net>
parents: 358
diff changeset
44 autocmd BufRead,BufNewFile .gitconfig :set noet ts=8 nolist
909b9fc4203e More git exception on vim.
Edho Arief <edho@myconan.net>
parents: 358
diff changeset
45 autocmd BufRead,BufNewFile .git/config :set noet ts=8 nolist
350
47fbc05cacce vim per file control.
Edho Arief <edho@myconan.net>
parents: 339
diff changeset
46 endif