summaryrefslogtreecommitdiff
path: root/nvim/init.vim
blob: 1d9d2dcdbe278adb6ccc7a1626e9cb9e3303f0c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
syntax on
filetype plugin indent on

set mouse=
set tabstop=4
set noexpandtab
set number
set shiftwidth=4
set autoindent
set spelllang=en,de
set colorcolumn=81  " don't touch this line to keep 80 chars. width
set encoding=utf-8
set fileencodings=utf-8
set listchars=tab:→\ ,nbsp:␣,trail:•,precedes:«,extends:»
set list

" switch tabs
map <F7> :tabp <LF>
map <F8> :tabn <LF>

" convert *.bin file to ascii or reverse (make sure to open with `vim -b`!)
map <F5> :%!xxd -r <LF>
map <F6> :%!xxd <LF>