|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+set number
|
|
|
2
|
+set t_Co=256
|
|
|
3
|
+syntax on
|
|
|
4
|
+set background=dark
|
|
|
5
|
+
|
|
|
6
|
+set shiftwidth=2
|
|
|
7
|
+set tabstop=2
|
|
|
8
|
+
|
|
|
9
|
+set nocompatible " be iMproved, required
|
|
|
10
|
+filetype off " required
|
|
|
11
|
+
|
|
|
12
|
+" set the runtime path to include Vundle and initialize
|
|
|
13
|
+set rtp+=~/.vim/bundle/Vundle.vim
|
|
|
14
|
+call vundle#begin()
|
|
|
15
|
+
|
|
|
16
|
+" let Vundle manage Vundle, required
|
|
|
17
|
+Plugin 'VundleVim/Vundle.vim'
|
|
|
18
|
+
|
|
|
19
|
+Plugin 'pangloss/vim-javascript'
|
|
|
20
|
+Plugin 'nathanaelkane/vim-indent-guides'
|
|
|
21
|
+Plugin 'Raimondi/delimitMate'
|
|
|
22
|
+Plugin 'scrooloose/syntastic'
|
|
|
23
|
+Plugin 'scrooloose/nerdtree'
|
|
|
24
|
+Plugin 'joukevandermaas/vim-ember-hbs'
|
|
|
25
|
+Plugin 'vim-airline/vim-airline'
|
|
|
26
|
+Plugin 'vim-airline/vim-airline-themes'
|
|
|
27
|
+
|
|
|
28
|
+" All of your Plugins must be added before the following line
|
|
|
29
|
+call vundle#end() " required
|
|
|
30
|
+filetype plugin indent on " required
|
|
|
31
|
+" To ignore plugin indent changes, instead use:
|
|
|
32
|
+"filetype plugin on
|
|
|
33
|
+
|
|
|
34
|
+" This does what it says on the tin. It will check your file on open too, not
|
|
|
35
|
+" just on save.
|
|
|
36
|
+" You might not want this, so just leave it out if you don't.
|
|
|
37
|
+let g:syntastic_check_on_open=1
|
|
|
38
|
+
|
|
|
39
|
+"shortcut for line split
|
|
|
40
|
+imap <C-c> <CR><Esc>O
|
|
|
41
|
+
|
|
|
42
|
+"start up nerd tree when no files are specified
|
|
|
43
|
+autocmd StdinReadPre * let s:std_in=1
|
|
|
44
|
+autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
|
|
45
|
+
|
|
|
46
|
+"tab line for vim-airline
|
|
|
47
|
+let g:airline#extensions#tabline#enabled = 1
|
|
|
48
|
+
|
|
|
49
|
+:nnoremap <Tab> :bnext<CR>
|
|
|
50
|
+:nnoremap <S-Tab> :bprevious<CR>
|
|
|
51
|
+map <C-n> :NERDTreeToggle<CR>
|