Created
December 20, 2010 15:00
-
-
Save oz/748467 to your computer and use it in GitHub Desktop.
My tmux.conf as of 2010/20/12
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
# General config: | |
# --------------- | |
setw -g utf8 on | |
set -g lock-after-time 1800 | |
set-window-option -g automatic-rename off | |
set -g default-terminal screen | |
# Look & feel: | |
# ------------ | |
# Panes colors | |
set -g pane-border-fg colour8 | |
set -g pane-active-border-fg white | |
# Status bar colors | |
set -g status-left "" | |
set -g status-fg white | |
set -g status-bg colour0 | |
set -g status-right "%H:%M %d-%b-%y" | |
set -g status-utf8 on | |
setw -g window-status-current-bg green | |
setw -g window-status-current-fg black | |
# Keys & mouse: | |
# ------------- | |
# Select pane with mouse (capture mouse clicks) | |
set -g mouse-select-pane on | |
# Use vi keys in copy mode | |
setw -g mode-keys vi | |
# Selection with mouse in copy mode | |
setw -g mode-mouse on | |
# Use back-tick (`) as the control key: | |
set-option -g prefix ` | |
unbind-key C-b | |
bind-key ` send-prefix | |
# Toggle status | |
bind-key b set-option status | |
# Open man-page | |
bind-key / command-prompt "split-window 'exec man %%'" | |
# Open SSH connection | |
bind-key S command-prompt "new-window -n %1 'ssh %1'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great article, I'm struggling to get this one to work:
bind-key S command-prompt "new-window -n %1 'ssh %1'"
It prompts for the server and then nothing happens :-(