thank good math but also human assholes for this

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2025-02-16 09:20:49 -06:00
parent 8edfd981d8
commit 475c865902
1 changed files with 22 additions and 17 deletions

39
vimrc
View File

@ -1,32 +1,37 @@
" also look at /etc/vim/vimrc " Load Debian-specific Vim configuration
runtime! debian.vim runtime! debian.vim
" Enable filetype detection, plugins, and indenting
filetype plugin indent on filetype plugin indent on
" Plugins " Disable mouse completely by default
" Plugin 'fatih/vim-go' set mouse=n
" set mouse=a " Ensure mouse is disabled in insert mode
set mouse= autocmd InsertEnter * set mouse=
autocmd InsertLeave * set mouse=n
" Set encoding
set encoding=utf-8 set encoding=utf-8
set fileencoding=utf-8 set fileencoding=utf-8
" Enable syntax highlighting
syntax on syntax on
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
" display's line numbers " Restore cursor position when reopening a file
" -set t_te= autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
" to keep vim from clearing the screen on exit " Prevent Vim from clearing the screen on exit
set t_ti= t_te= set t_ti=
set t_te=
" Viminfo settings
set viminfo='50,<1000,s100,:0,n~/.cache/viminfo'
" stuff for vim-go " Vim-Go settings (commented out, enable if needed)
" let g:go_def_mode='gopls' " let g:go_def_mode='gopls'
" let g:go_info_mode='gopls' " let g:go_info_mode='gopls'
" vim -u ~/.config/.vimrc " Text width settings for formatting (commented out, enable if needed)
" set viminfo+=n~/.vim/viminfo " set textwidth=80
set viminfo='50,<1000,s100,:0,n~/.cache/viminfo " gq for formatting
" :set textwidth=80
" :gq