Create .bash_profile
Add the following script into file
. ~/.bashrc
Reference:
Create .bash_profile
Add the following script into file
. ~/.bashrc
Reference:
# like screen's shortcuts ctrl-a
## unbind C-b
## set -g prefix C-a
# for minicom shortcuts
# export TERM=xterm
# export TERM=screen
bind-key a send-prefix
export TERMINFO=/home/happy/OBJ/share/terminfo
export TERM=xterm-256color
export LD_LIBRARY_PATH=/home/happy/OBJ/lib/:$LD_LIBRARY_PATH
export PATH=/home/happy/OBJ/bin/:$PATH
[[ -s "$HOME/.tmuxifier/init.sh" ]] && source "$HOME/.tmuxifier/init.sh"
export EDITOR=vim
# set Working Directory is ~/project/example
window_root "~/project/example"
# Set Title
new_window "Example"
# The horizontal width is 50%.
split_h 50
# The vertical hight is 50%.
split_v 50
# run 0~2
run_cmd "vim" 0
run_cmd "date" 1
run_cmd "htop" 2
# change window to 0
select_pane 0
# Window 0 ,enter into VIM editor,Sending edit command to vim.
send_keys "iI Love Vim"
定義好之後先儲存視窗設定。