我的Linux软件配置文件

2017-08-03

Vim - ~/.vimrc

set number
set ts=4
set expandtab
set shiftwidth=4
set autoindent

ssh - ~/.ssh/config

Host *
ControlMaster auto
ControlPath ~/.ssh/cm_socket/%r@%h:%p
ServerAliveInterval 10

Host linode
    HostName 139.162.*.*
    Port 2***
    User admin

git - ~/.gitconfig

[alias]
    st = status
    co = checkout
    ci = commit
    br = branch
    df = diff -b
    dc = diff --cached
    pl = pull --rebase
    cm = commit --amend --no-edit
[core]
    excludesfile = ~/.gitignore
[push]
    default = current

shadowsocks - ~/shadowsocks/config.json

{
    "server":"139.162.*.*",
    "server_port":8388,
    "local_address": "127.0.0.1",
    "local_port":1080,
    "password":"********",
    "timeout":300,
    "method":"aes-256-cfb"
}

screen - ~/.screenrc

escape ^Ll # Instead of Control-a, make the escape/command character be Control-l
autodetach on # Autodetach session on hangup instead of terminating screen completely
startup_message off # Turn off the splash screen
defscrollback 30000 # Use a 30000-line scrollback buffer
termcapinfo xterm ti@:te@
标签: Linux