Created
December 14, 2023 08:35
-
-
Save samkhawase/7509a68399abc30c299da95b3ca65edc to your computer and use it in GitHub Desktop.
tmux config
This file contains 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
set -g mouse on | |
setw -g mouse on | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
set-window-option -g mode-keys vi | |
bind-key C-b send-prefix | |
set-option -g history-limit 5000 | |
# reload config file (change file location to your the tmux.conf you want to use) | |
bind r source-file ~/.tmux.conf | |
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe 'reattach-to-user-namespace pbcopy' '\;' send -X clear-selection | |
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy' | |
# bind -n C-k send-keys -R \; send-keys C-l \; clear-history | |
run-shell "powerline-daemon -q" | |
source "/usr/local/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf" | |
# Don't spawn a login shell | |
set -g default-command "${SHELL}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment