0
1
2 call pathogen#infect()
3 filetype plugin on
4
5 let g:syntastic_enable_signs=1
6 let g:syntastic_enable_highlighting = 1
7 let g:syntastic_loc_list_height=5
8 let g:syntastic_echo_current_error=2
9 let g:syntastic_statusline_flag=2
10 "set statusline+=%#warningmsg#
11 "set statusline+=%{SyntasticStatuslineFlag()}
12 "set statusline+=%*
13
14
15 syntax on
16 set history=1000
17 set undolevels=1000
18 set visualbell
19
20
21 if &compatible
22 set nocompatible
23 endif
24
25 "set laststatus=2
26
27 set background=dark
28 set relativenumber
29 set hidden
30 set showmatch
31 set showmode
32 set showcmd
33 set hlsearch
34 set incsearch
35 set ignorecase
36 set smartcase "this overwrites the ignore case
37 "if search patter contains upper
38
39 "filetype on "not sure what this does
40
41
42 set backspace=2
43 nmap <silent> <leader><space> :nohlsearch<CR>
44
45
46 "set scrolloff=2
47 set tabstop=2
48 set shiftwidth=2
49 set expandtab "turns tabs into spaces
50 set smarttab
51 set bs=indent,eol,start
52 set autoindent
53 set copyindent
54 set smartindent
55
56
57 set splitright
58 set columns=320
59 set splitbelow
60
61
62 set ruler
63 set cursorline
64 set cuc
65 hi CursorColumn ctermfg=white ctermbg=NONE cterm=NONE
66
67
68 imap jj <Esc>
69 imap jk <Esc>
70
71
72 " Jump to matching pairs easily, with Tab
73 nnoremap <Tab> %
74 vnoremap <Tab> %
75
76
77 map <C-h> <C-w>h
78 map <C-j> <C-w>j
79 map <C-k> <C-w>k
80 map <C-l> <C-w>l
81