-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
33 lines (30 loc) · 1.54 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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" General
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set backup " keep a backup file
set history=50 " keep 50 lines of command line history
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Theme/Colors
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin on " identify filetype
set t_Co=256 " enable 256-color mode.
syntax on " set syntax
colorscheme desert " changes colorscheme
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim UI
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set mouse=a " identify mouse
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set hlsearch " highlight when searching
set number " display line numbers
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Formatting
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let perl_fold=1 " authomatically fold perl subroutines
set tabstop=4 " changes tab size to 4 spaces
set expandtab " sets tab to fill with whitespace
set showmatch " matches parentheses and brackets
set colorcolumn=81 " draw border after 80 characters
highlight ColorColumn ctermbg=blue