-
Notifications
You must be signed in to change notification settings - Fork 1
/
.vimrc
53 lines (40 loc) · 740 Bytes
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
" Behaviour
set expandtab nojoinspaces
" Colour
syntax enable
set background=dark
colorscheme railscat
" Display
set ruler
set showcmd
" Indentation
set autoindent
set shiftwidth=4
set tabstop=4
" Keyboard
map Q gq
nmap <c-n> :next<cr>
nmap <c-p> :prev<cr>
" Scroll
set scrolloff=5
" Search
set hlsearch
set incsearch
" Whitespace
set list
set listchars=tab:▸\ ,trail:·
" Wrap
set breakat-=@
set colorcolumn=100
set linebreak
set nowrap
" Makefile
autocmd BufNewFile,BufRead Makefile set noexpandtab
" Markdown
autocmd BufNewFile,BufRead *.md set wrap nolist spell
" Nextflow
autocmd BufNewFile,BufRead *.nf set syn=groovy
" Ruby
autocmd BufNewFile,BufRead *.rb set sw=2 ts=2
" TSV
autocmd BufNewFile,BufRead *.tsv set ts=8