-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
45 lines (32 loc) · 776 Bytes
/
.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
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
filetype plugin on
syntax on
set number
set title
set encoding=utf-8
" Tab sizing
set tabstop=4
set softtabstop=4
set shiftwidth=4
" Use spaces instead of tabs
set noexpandtab
set autoindent
set nowrap
set backspace=indent,eol,start
set showmatch
" Search
set incsearch
set hlsearch
set smartcase
" Windows
set splitbelow
set splitright
" Enable spell checking
"set spell
" Gotta have a color scheme
color jeffs
" Plugins
map <C-n> :NERDTreeToggle<CR> " Toggle NERDTree on Control + N
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif " Close vim if only NERDTree left
let g:JSLintHighlightErrorLine = 1 " Highlight JavaScript errors