forked from shawncplus/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
112 lines (92 loc) · 2.49 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
set nocompatible
filetype off
set encoding=utf-8
" bind leader (not ladder) key
"
let mapleader = ","
map <Leader>n :new<CR>
" lets vundle the crap out of it
"
set rtp+=~/.vim/bundle/Vundle.vim/
set rtp+=~/.vim/bundle/
call vundle#begin()
Bundle 'gmarik/vundle'
" there follow my plugins
"
Bundle 'scrooloose/nerdtree'
map <F2> :NERDTreeToggle<CR>
let NERDTreeMinimalUI=1
let NERDTreeDirArrows=1
let NERDTreeMapOpenInTab='t'
let NERDTreeIgnore = ['\.pyc$']
Bundle 'jistr/vim-nerdtree-tabs'
map <Leader>n <plug>NERDTreeTabsToggle<CR>
Bundle 'bling/vim-airline'
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
Bundle 'int3/vim-extradite'
nnoremap <c-g> :Extradite!<cr>
Bundle 'kien/ctrlp.vim'
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
set wildignore+=*/venv/*
set wildignore+=*/build/*
set wildignore+=*.pyc
Bundle 'thoughtbot/vim-rspec'
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>
Bundle 'jgdavey/tslime.vim'
let g:rspec_command = 'call Send_to_Tmux("rspec {spec}\n")'
Bundle 'Valloric/YouCompleteMe'
let g:ycm_key_list_select_completion = ['<TAB>', '<Down>']
Bundle 'hynek/vim-python-pep8-indent'
let g:pymode_indent = 0
Bundle 'scrooloose/syntastic'
Bundle 'rodjek/vim-puppet'
Bundle 'vim-scripts/VimClojure'
Bundle 'airblade/vim-gitgutter'
Bundle 'wannesm/wmgraphviz.vim'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-haml'
Bundle 'christoomey/vim-tmux-navigator'
" Bundle 'fholgado/minibufexpl.vim'
" try without using ctrp-p buf mode
Bundle 'dart-lang/dart-vim-plugin'
Bundle 'chase/vim-ansible-yaml'
Bundle 'rking/vim-detailed'
call vundle#end()
" can remove?
" source ~/.vim/startup/color.vim
" source ~/.vim/startup/mappings.vim
source ~/.vim/startup/settings.vim
"
" able to jump nicely between splits
"
nnoremap <c-j> <c-w>j
nnoremap <c-k> <c-w>k
nnoremap <c-h> <c-w>h
nnoremap <c-l> <c-w>l
noremap j gj
noremap k gk
colorscheme wombat256
colorscheme detailed
hi TabLineFill ctermfg=Black ctermbg=Black
hi TabLine ctermfg=Blue ctermbg=Yellow
hi TabLineSel ctermfg=Red ctermbg=Yellow
map <c-n> <Esc>:bn<CR>
map <c-m> <Esc>:bN<CR>
imap § <Esc>
" spacing and stuff
filetype plugin on
filetype indent on
set expandtab " tabs are converted to spaces
set tabstop=4 " numbers of spaces of tab character
set shiftwidth=4
set nofoldenable
set colorcolumn=0
set noswapfile
set colorcolumn=80
set timeoutlen=1000 ttimeoutlen=0
set backspace=indent,eol,start