-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
77 lines (58 loc) · 2.12 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
69
70
71
72
73
74
75
76
" See README.md for installation instructions
"vvv Vundle Configuration
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
"^^^ Vundle Configuration --end--
set hlsearch
set paste
"vvv Vundle Bundles
Bundle 'ervandew/supertab'
Bundle 'scrooloose/nerdtree'
Bundle 'wesleyche/SrcExpl'
Bundle 'vim-scripts/taglist.vim'
Bundle 'wesleyche/Trinity'
Bundle 'flazz/vim-colorschemes'
" YouCompleteMe clang-based c-family autocompleteion
" Visit http://valloric.github.io/YouCompleteMe/ for more info
" sudo apt-get install build-essential cmake python-dev
" cd ~/.vim/bundle/YoucompleteMe
" ./install.sh --clang-completer
Bundle 'Valloric/YouCompleteMe'
Bundle 'tpope/vim-pathogen'
"Bundle 'scrooloose/syntastic'
"Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim'}
Bundle 'Lokaltog/vim-powerline'
"^^^ Vundle Bundles --end--
filetype plugin indent on "required by Vundle and pathogen
colorscheme jellybeans
" vvv Easy Pane Navigation
nmap <silent> <c-k> :wincmd k<CR>
nmap <silent> <c-j> :wincmd j<CR>
nmap <silent> <c-h> :wincmd h<CR>
nmap <silent> <c-l> :wincmd l<CR>
" ^^^ Easy Pane Navigation --end--
" vvv Trinity (quick toggle)
ca tt TrinityToggleAll
" ^^^ Trinity --end--
" vvv Backspace (it should work properly, though only in insert mode)
set backspace=2
" ^^^ Backspace --end--
" vvv Syntax Highlighting (turn it on)
syntax on
" ^^^ Syntax Highlighting --end--
" vvv Tabs (these should be 4 spaces)
set tabstop=4
set shiftwidth=4
set expandtab
" ^^^ Tabs --end--
" vvv Pathogen (enable it)
execute pathogen#infect()
" ^^^ Pathogen --end--
" vvv Status Line (Powerline version -- show it)
let g:Powerline_symbols = 'unicode'
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
set laststatus=2
" ^^^ Status Line --end--