aboutsummaryrefslogtreecommitdiff
path: root/vim/.vimrc
blob: 90772396920c1c8bb0a20df0a305ed9939cd97a3 (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
set number
syntax enable
set tabstop=8
set cursorline
set lazyredraw
set incsearch
set hlsearch
set autoindent
set scrolloff=3
set spelllang=en
set spell
set tw=70
set ruler

set list
set listchars=eol:\ ,tab:\|\ ,trail:~,extends:>,precedes:<,space:·

map K i<enter><esc>
map W <esc>:WordCount<enter>

colorscheme default

au BufRead,BufNewFile *.go set filetype=go

set statusline+=%{WordCount#WordCount()}