fix that god damn vi screen clearing problem

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-12-20 02:01:53 -06:00
parent f8c65e3c4e
commit 75d1ae8350
3 changed files with 11 additions and 6 deletions

View File

@ -72,9 +72,6 @@ stty -echoctl
if [ -d ~/.config/wit/ ]; then
echo -n "git.wit.org/wit/bash "
cd ~/.config/wit/ && git pull
cd
sleep 1
fi
if [ $? == 0 ]; then
@ -85,7 +82,7 @@ fi
# read in custom bash settings if you want
case "$WIT_USER" in
jcarr2)
. ~/jcarr/bashrc/.jcarr
. ~/.jcarr
;;
*)
if [ -f ~/$WIT_USER/bashrc/.$WIT_USER ] && ! shopt -oq posix; then

4
cloudflare Normal file
View File

@ -0,0 +1,4 @@
wit.org 5d15a8bbea7782be39b453207abfd3a0 e08806ad85ef97aebaacd2d7fa462a7d417a7 basilarchia@gmail.com
other.wit.com 3777302ac4a78cd7fa4f6d3f72086d06 DDEktZ1o7Y7JzUdWHYOV0dfp3382EPKxX0QL5Ct7 basilarchia@gmail.com
wit.com 3777302ac4a78cd7fa4f6d3f72086d06 e08806ad85ef97aebaacd2d7fa462a7d417a7 basilarchia@gmail.com
stablesid.com 27b900d9e05cfb9f3a64fecff2497f90 e08806ad85ef97aebaacd2d7fa462a7d417a7 basilarchia@gmail.com

8
vimrc
View File

@ -16,7 +16,8 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
" -set t_te=
" to keep vim from clearing the screen on exit
:set t_te=
set t_ti= t_te=
" stuff for vim-go
" let g:go_def_mode='gopls'
@ -24,4 +25,7 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
" vim -u ~/.config/.vimrc
" set viminfo+=n~/.vim/viminfo
:set viminfo='50,<1000,s100,:0,n~/.cache/viminfo
set viminfo='50,<1000,s100,:0,n~/.cache/viminfo
" :set textwidth=80
" :gq