28 lines
552 B
VimL
28 lines
552 B
VimL
|
" 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_te=
|
||
|
|
||
|
" stuff for vim-go
|
||
|
" let g:go_def_mode='gopls'
|
||
|
" let g:go_info_mode='gopls'
|
||
|
|
||
|
" vim -u ~/.config/.vimrc
|
||
|
" set viminfo+=n~/.vim/viminfo
|
||
|
:set viminfo='50,<1000,s100,:0,n~/.cache/viminfo
|