diff --git a/ssh_config b/ssh_config new file mode 100644 index 0000000..99bdad1 --- /dev/null +++ b/ssh_config @@ -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 + diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..46f7ef1 --- /dev/null +++ b/vimrc @@ -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