From 0bcdd04b48c3c3a6fdec7f23b3c0c1a201d05aa2 Mon Sep 17 00:00:00 2001 From: z0rc Date: Wed, 19 Jun 2024 12:58:20 +0200 Subject: [PATCH] Add ssh_config and vimrc --- ssh_config | 9 +++++++++ vimrc | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 ssh_config create mode 100644 vimrc 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