Skip to content

yubo/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOME

My working development environment configuration, including bash, tmux, vim, git, ssh, etc.

install

# download
git clone [email protected]:yubo/home.git ~/.home
cd ~/.home && sh install.sh

# open nvim && install plugins
nvim
:PackerSync
:q

local config

customize local config

bash

# ~/.bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions
alias rm='rm -i'
#...

ssh config

#~/.ssh/conf.d/*
Host {aliasname}
  HostName {ip/hostname}
  Port 8222
  User {user}
  IdentityFile ~/.ssh/id_rsa.example.com

bash

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

tmux

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

SEE ALSO