-
Notifications
You must be signed in to change notification settings - Fork 5
/
baker-vimrc.vim
50 lines (35 loc) · 998 Bytes
/
baker-vimrc.vim
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
source ~/.vim/common-vimrc.vim
au BufNewFile,BufRead *.handlebars set filetype=html
au BufNewFile,BufRead *.hbs set filetype=html
au BufNewFile,BufRead *.hamlbars set filetype=haml
set hls
set ignorecase
noremap <leader>h :split<CR><C-W><C-W>
set background=dark
let g:solarized_visibility = "high"
let g:solarized_contrast = "high"
colorscheme solarized
nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
set list
set listchars=trail:☹
nnoremap <C-w>. 20<C-w>>
nnoremap <C-w>> 10<C-w>>
nnoremap <C-w>, 20<C-w><
nnoremap <C-w>< 10<C-w><
let optional = []
let optional += ["nerdtree"]
" let optional += ["autoclose"]
" let optional += ["vim-endwise"]
" let optional += ["tabular"]
" let optional += ["scratch"]
" let optional += ["conque"]
" let optional += ["gundo"]
" let optional += ["cucumber"]
call optional#include(optional)
nnoremap <leader>n :NERDTreeToggle<cr>
nnoremap <leader><space> :noh<cr>
set noswapfile
map <leader>t :CtrlP .<CR>