This is my tmux configuration.
brew install tmux
git clone https://github.com/chaozwn/tmux.git ~/.config/tmuxThen
tmuxpress ctrl+t+I
export TERM="xterm-256color"#Tmux的配置和使用
tmux new -s session_nameprefix + d
tmux detachtmux a -t session_nametmux kill-session -t session_nametmux switch -t session_nametmux rename-session -t session_name new_session_name
prefix $tmux kill-servertmux ls
prefix sprefix Iprefix cprefix numberprefix xprefix !prefix ,prefix n/prefix p
prefix w
关于这个参数, 是显示的路径
set -g @sessionx-x-path '~/.config'
alt+backspacewill delete the selected sessionCtrl-uscroll preview upCtrl-dscroll preview downCtrl-nselect preview upCtrl-pselect preview downCtrl-fcreate new tmux session withzoxideCtrl-r"read": will launch a read prompt to rename a session within the listCtrl-w"window": will reload the list with all the available windows and their previewCtrl-xwill fuzzy read ~/.config or a configureable path of your choice (with @session-x-path)Ctrl-e"expand": will expand PWD and search for local directories to create additional session fromCtrl-b"back": reloads the first query. Useful when going into window or expand mode, to go backCtrl-t"tree": reloads the preview with the tree of sessions+windows familiar from the native session manager (C-S)Ctrl-/"tmuxinator": fetches a list of tmuxinator sessions and previews them?toggles the preview pane