-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
34 lines (27 loc) · 863 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
" Set the colorscheme - desert fo life
colorscheme desert
" Set tab behavior
set expandtab " Expand tabs into spaces
set tabstop=4 " Four spaces, to be exact
set shiftwidth=4 " Width of auto-ident
" Other display settings
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set colorcolumn=81 "Highlight the 81st column
" Use a blinking upright bar cursor in Insert mode, a blinking block in normal
if &term == 'xterm'
let &t_SI = "\<Esc>[5 q"
let &t_EI = "\<Esc>[1 q"
endif
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
" Disable the arrow keys
map <Up> ""
map <Down> ""
map <Left> ""
map <Right> ""