-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
41 lines (32 loc) · 1.17 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
" Michael Pawliszyn
set nocompatible
" Colours:
syntax on " enable syntax processing
" Setup:
set ttyfast " faster redraw
set backspace=indent,eol,start " backspace!
" Spacing:
set tabstop=4 " 4 space tab
set expandtab " use spaces for tabs
set softtabstop=4 " 4 space tab
set shiftwidth=4
set modelines=1
filetype indent on " File type if possible
filetype plugin on " File type if possible
set autoindent " Autoindent unknown types
" UI:
set number " show line numbers
set ruler " show position of cursor
set showcmd " show command in bottom bar
set wildmenu
set showmatch " highlight matching [{()}]
set laststatus=2 " always display status line
set visualbell " no beeping
set cmdheight=2 " more command info room
" Search:
set incsearch " search as characters are entered
set hlsearch " highlight matches
" Movement:
" move vertically by visual line
nnoremap j gj
nnoremap k gk