Add ssh_config and vimrc

This commit is contained in:
z0rc 2024-06-19 12:58:20 +02:00
parent 94e659a206
commit 0bcdd04b48
2 changed files with 28 additions and 0 deletions

9
ssh_config Normal file
View File

@ -0,0 +1,9 @@
Host *
ControlMaster auto
ControlPath ~/.ssh/control/%r@%h:%p
# Use ServerAlive instead of TCPKeepAlive for improved stability
ServerAliveCountMax 3
ServerAliveInterval 20
TCPKeepAlive no

19
vimrc Normal file
View File

@ -0,0 +1,19 @@
" Load sensible defaults
runtime! vimrc_example.vim
" Enable line numbers
set number
" Ignore search pattern case unless it contains uppercase letters
set ignorecase
set smartcase
" Avoid cluttering $PWD with temporary files
set backupdir^=~/tmp/vim//
set directory^=~/tmp/vim//
set undodir^=~/tmp/vim//
" Indentation without hard tabs
set expandtab
set shiftwidth=2
set softtabstop=2