summaryrefslogtreecommitdiff
path: root/etc/vimrc
blob: 211613cc77399af147f3077ffe2b2a18c5550b4a (plain)
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
"" vim:ft=vim

set nocompatible
" Line numbers
set nu
" FIXME what's that again?
set title
set ttyfast

" I prefer 5 spaces per tab
set tabstop=5
set shiftwidth=5
set shiftround
" Automation.
set autoindent

set bg=dark
colorscheme darkblue
syntax enable

" Show Tabs as »···
set list
set listchars=tab:»·

" Only create .swp-files in ~/.vim-backup
set backupdir=~/.vim-backup
set dir=~/.vim-backup

" Ignore case in searches
set ignorecase

noremap - :
noremap r h
noremap n j
noremap t k
noremap h l