-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
34 lines (25 loc) · 714 Bytes
/
vimrc
File metadata and controls
34 lines (25 loc) · 714 Bytes
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
" sets auto indentation to on and set the indent size to be two spaces
set autoindent expandtab tabstop=2 shiftwidth=2
" because 80 characters in this day and age is archaic
set textwidth=160
filetype on
filetype plugin on
" syntax highlighting
syntax on
set hidden
" case insensitivity when searching unless you specify uppercase
set ignorecase
set smartcase
" shows indent
set ruler
" if not saved will confirm if you want to on exit
set confirm
" rather than dinging on the shell will flash the screen instead
set visualbell
" sets the colour scheme to elflord ( NCIS joke ) can look for others with
" :colo <ctrl+d>
colorscheme elflord
" forces visual mode
" if has('mouse')
" set mouse=a
" endif