From de9baa2ddebf828e57809cdb41dddc3ee56cb29e Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Wed, 1 Dec 2021 10:26:52 +0100 Subject: updates --- .bashrc | 3 +++ .config/kitty/kitty.conf | 6 +++--- .profile | 1 + .vimrc | 15 ++++----------- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.bashrc b/.bashrc index bec9d86..5c0cdee 100644 --- a/.bashrc +++ b/.bashrc @@ -32,6 +32,9 @@ fixab() { printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" ; tail -c +25 "$1"; } #export LESS_TERMCAP_us=$(tput setaf 5) # underline (magenta) #export LESS_TERMCAP_ue=$'\E[0m' # end underline +# Less: use a 4-space tabulation +export LESS=Rx4 + # gnuplot display in terminal export GNUTERM='sixelgd enhanced truecolor font "arial,9"' diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index eca0bdf..3777c68 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -511,9 +511,9 @@ focus_follows_mouse yes #: Window layout {{{ -# remember_window_size yes -# initial_window_width 640 -# initial_window_height 400 +remember_window_size no +initial_window_width c640 +initial_window_height c480 #: If enabled, the window size will be remembered so that new #: instances of kitty will have the same size as the previous diff --git a/.profile b/.profile index 3e36ae3..a2ba42f 100644 --- a/.profile +++ b/.profile @@ -16,3 +16,4 @@ fi . "/opt/homebrew/etc/profile.d/bash_completion.sh" eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)" +tabs -4 diff --git a/.vimrc b/.vimrc index 436dcaa..c2a5776 100644 --- a/.vimrc +++ b/.vimrc @@ -1,7 +1,7 @@ +" General vim defaults " set background= -"set t_te= t_ti= laststatus=2 set t_te= t_ti= ls=1 ruler - +set ai ts=4 sw=4 noet syntax off filetype on filetype plugin on @@ -35,21 +35,14 @@ autocmd FileType go nmap v (go-referrers) autocmd FileType go nmap n :cnext autocmd FileType go nmap p :cprevious autocmd FileType go nmap a :cclose -autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4 +" autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4 let g:netrw_browsex_viewer = "open" let g:netrw_gx = "" let g:netrw_banner = 0 -autocmd filetype javascript,html,json,yaml set ts=2 sts=2 sw=2 et +" autocmd filetype javascript,html,json,yaml set ts=2 sts=2 sw=2 et -" :set wm=2 linebreak -" :set term=ansi -":set modeline -":set modelines=5 -set autoindent -"set breakindent -" :set ts=2 sw=2 sts=2 et :set wrap :set linebreak :set nolist -- cgit v1.2.3