Add ssh_config and vimrc
This commit is contained in:
parent
94e659a206
commit
0bcdd04b48
9
ssh_config
Normal file
9
ssh_config
Normal 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
19
vimrc
Normal 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
|
Loading…
Reference in New Issue
Block a user