-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
63 lines (50 loc) · 1.39 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
filetype off
syntax on
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle "gmarik/vundle"
" My bundles
Bundle "MarcWeber/vim-addon-mw-utils"
Bundle "tomtom/tlib_vim"
Bundle "garbas/vim-snipmate"
Bundle "HTML-AutoCloseTag"
Bundle "checksyntax"
Bundle "SearchComplete"
Bundle "delimitMate.vim"
Bundle "The-NERD-Commenter"
Bundle "scrooloose/nerdtree"
Bundle "mileszs/ack.vim"
Bundle "tpope/vim-rails"
Bundle "mattn/emmet-vim"
Bundle "Lokaltog/vim-easymotion"
Bundle "scrooloose/syntastic"
Bundle "tpope/vim-surround"
Bundle "jwhitley/vim-matchit"
Bundle "sjl/gundo.vim"
Bundle "ctrlp.vim"
Bundle "jpo/vim-railscasts-theme"
Bundle "dterei/Twilight"
Bundle "vim-misc"
Bundle "vim-colorscheme-switcher"
Bundle "Vim-JDE"
Bundle "JavaRun"
Bundle "vim-dict"
filetype plugin indent on
autocmd Filetype html setlocal ts=2 sts=2 sw=2
autocmd Filetype ruby setlocal ts=2 sts=2 sw=2
autocmd Filetype yaml setlocal ts=2 sts=2 sw=2
autocmd Filetype javascript setlocal ts=4 sts=4 sw=4
autocmd Filetype php setlocal ts=4 sts=4 sw=4
set number
silent! nmap <silent> <Leader>p :NERDTreeToggle<CR>
silent! nmap <silent> <Leader>u :GundoToggle<CR>
silent! nmap <silent> <Leader>t :CtrlP<CR>
let g:gundo_right = 1
colorscheme twilight
map <C-k> <C-w><Up>
map <C-j> <C-w><Down>
map <C-l> <C-w><Right>
map <C-h> <C-w><Left>
set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey40
nnoremap <Leader>c :set cursorline!<CR>