Last active
August 24, 2017 15:02
-
-
Save arehmandev/1bd97e3d6056bb6770ffa3a694d5cd0a to your computer and use it in GitHub Desktop.
tmux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #~/.bashrc | |
| if command -v tmux>/dev/null; then | |
| [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && exec tmux | |
| fi | |
| alias fortune='fortune | cowsay | lolcat' | |
| alias pbcopy='xclip -selection clipboard' | |
| alias pbpaste='xclip -selection clipboard -o' | |
| tmux source-file ~/.tmux.conf | |
| #~/.tmux.conf | |
| set mouse on | |
| unbind-key -a | |
| unbind C-b | |
| set -g prefix C-z | |
| bind -n M-Left select-pane -L | |
| bind -n M-Right select-pane -R | |
| bind -n M-Up select-pane -U | |
| bind -n M-Down select-pane -D | |
| bind -n M-] swap-pane -s :+.top \; rotate-window -Ut :+ | |
| bind -n C-d splitw -h -p 50 | |
| bind -n M-d splitw -v -p 50 | |
| bind -n M-w killp | |
| set-window-option -g window-status-current-bg yellow | |
| set -g history-limit 10000 | |
| set -g mouse-utf8 on | |
| set -g mouse on | |
| bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M | |
| bind -n WheelDownPane select-pane -t= \; send-keys -M | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment