diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-12-01 10:26:52 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-12-01 10:26:52 +0100 |
| commit | de9baa2ddebf828e57809cdb41dddc3ee56cb29e (patch) | |
| tree | 3e9b5d79ad8ac19591215e26a89421cb54b92d59 | |
| parent | 3816cb8729fce0206a4e01a2e7989d5462249e88 (diff) | |
updates
| -rw-r--r-- | .bashrc | 3 | ||||
| -rw-r--r-- | .config/kitty/kitty.conf | 6 | ||||
| -rw-r--r-- | .profile | 1 | ||||
| -rw-r--r-- | .vimrc | 15 |
4 files changed, 11 insertions, 14 deletions
@@ -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 @@ -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 @@ -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 <leader>v <Plug>(go-referrers) autocmd FileType go nmap <leader>n :cnext<CR> autocmd FileType go nmap <leader>p :cprevious<CR> autocmd FileType go nmap <leader>a :cclose<CR> -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 = "<cWORD>" 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 |
