My tmux config

This is my ~/.tmux.conf file, for my own reference.

For the right keyboard sequences to be passed on from PuTTY it might be necessary to set your keyboard to Xterm R6.

Here’s the file.

# Change from default green to a recognizable colour
set -g status-style "bg=colour248 fg=black"

# Place server load status in the right part of the status bar
set -g status-right "#(uptime | rev | cut -d' ' -f1-3 | rev)"

# Easy reloading
bind r source-file ~/.tmux.conf \; display "Reloaded!"

# Easy resizing
bind -n M-Down resize-pane -D 1
bind -n M-Up resize-pane -U 1
bind -n M-Left resize-pane -L 1
bind -n M-Right resize-pane -R 1

# Show pane numbers a bit longer
set display-panes-time 5000

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top