Last active
August 29, 2015 14:20
-
-
Save akheron/42e1c22d8908d1fa2e58 to your computer and use it in GitHub Desktop.
My 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
# Keybindings | |
unbind C-b | |
set -g prefix C-z | |
bind z send-prefix | |
bind escape copy-mode | |
bind C-z last-window | |
bind p select-pane -t :.-1 | |
bind n select-pane -t :.+1 | |
# Disable italic/oblique font in terminal. See: | |
# | |
# http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1460 | |
# http://sourceforge.net/p/tmux/mailman/message/27366130/ | |
# | |
# Generate the screen-noit terminfo like this: | |
# | |
# mkdir -p $HOME/.terminfo/ | |
# infocmp screen-256color | sed \ | |
# -e 's/^screen[^|]*|[^,]*,/screen-noit|screen with proper standout,/' \ | |
# -e 's/smso=[^,]*,/smso=\\E[7m,/' \ | |
# -e 's/rmso=[^,]*,/rmso=\\E[27m,/' \ | |
# -e 's/ \?sitm=[^,]*,//' \ | |
# -e 's/ \?ritm=[^,]*,//' > /tmp/terminfo | |
# tic /tmp/terminfo | |
# echo "set -g default-terminal 'screen-noit'" >> ~/.tmux.conf | |
# | |
set -g default-terminal screen-noit | |
# Colors | |
set -g status-bg yellow | |
set -g status-fg black | |
set -g pane-active-border-style fg=yellow | |
set -g pane-active-border-style bg=yellow | |
# Plugins | |
set -g @tpm_plugins ' \ | |
tmux-plugins/tpm \ | |
tmux-plugins/tmux-sensible \ | |
tmux-plugins/tmux-yank \ | |
tmux-plugins/tmux-copycat \ | |
tmux-plugins/tmux-open \ | |
' | |
run-shell '~/.tmux/plugins/tpm/tpm' | |
# tmux-yank | |
set -g @yank_selection 'primary' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved to https://gist.github.com/akheron/61a01d597360c0187dc4