summaryrefslogtreecommitdiff
path: root/vimrc
blob: 55e961ad69a49e0f5fe3d4f23d7f7dca95aa9479 (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
" also look at /etc/vim/vimrc
runtime! debian.vim

filetype plugin indent on

" Plugins
" Plugin 'fatih/vim-go'

set mouse=r
set encoding=utf-8
set fileencoding=utf-8
syntax on
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif

" display's line numbers
" -set t_te=

" to keep vim from clearing the screen on exit
:set t_ti=
:set t_te=

" stuff for vim-go
" let g:go_def_mode='gopls'
" let g:go_info_mode='gopls'

" vim -u ~/.config/wit/vimrc
:set viminfo='50,<1000,s100,:0,n~/.cache/viminfo

" :set textwidth=80
" :gq