My working development environment configuration, including bash, tmux, vim, git, ssh, etc.
# download
git clone [email protected]:yubo/home.git ~/.home
cd ~/.home && sh install.sh
# open nvim && install plugins
nvim
:PackerSync
:q
customize local config
# ~/.bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
alias rm='rm -i'
#...
#~/.ssh/conf.d/*
Host {aliasname}
HostName {ip/hostname}
Port 8222
User {user}
IdentityFile ~/.ssh/id_rsa.example.com
map | desc |
---|---|
C-a a | move to the start of the command line |
C-e | move to the end of the command line |
C-p | pre |
C-n | next |
C-b | backward |
C-f | forward |
C-u | delete forward |
C-k | delete backward |
map | desc |
---|---|
c-a , | 修改tmux window name |
c-a c | create window |
c-a n | next window |
c-a p | pre window |
c-a N | swap next window |
c-a P | swap pre window |
c-a - | split window |
c-a | |
c-a z | zoom window |