-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
54 lines (40 loc) · 1.1 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
" Author: James Roller
" Date: 10-AUG-2014
" Description: Personal dotvimrc file
" Pathogen
" ------------------------------------------------------------------------------
filetype off
execute pathogen#infect()
call pathogen#helptags()
" ------------------------------------------------------------------------------
" Automatic reloading of .vimrc
autocmd! bufwritepost vimrc source %
colorscheme darkblue
syntax on
filetype on
filetype plugin on
filetype plugin indent on
set dir=c:\\Users\\roller\\_backup,c:\\Temp
set backupdir=c:\\Users\\roller\\_backup,c:\\Temp
set nu
if has("gui_running")
if has("gui_win32")
set guifont=Consolas:h9:cANSI
endif
endif
set lines=65
set columns=150
set cindent
set tabstop=4
set shiftwidth=4
set expandtab
set ruler
set hlsearch
noremap <silent> <C-H> :set hlsearch!<CR>
" Unbind the cursor keys in insert, normal, and visual modes
" I NEED this to become second-nature
for prefix in ['i', 'n', 'v']
for key in ['<Up>', '<Down>', '<Left>', '<Right>']
exe prefix . "noremap " . key . " <Nop>"
endfor
endfor