Created
June 30, 2021 11:49
-
-
Save hgrimelid/4f56f8a268b95a6d962156243bcea3dd to your computer and use it in GitHub Desktop.
Tmux config for server
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
# Requires Fish | |
# Rebind prefix key to C-a | |
unbind C-b | |
set -g prefix C-a | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# Set shell | |
set-option -g default-shell "/usr/bin/fish" | |
# start window numbering at 1 for easier switching | |
set -g base-index 1 | |
# colors | |
set -g default-terminal "screen-256color" | |
# status bar config | |
set -g status-left "#h:[#S]" | |
set -g status-left-length 50 | |
set -g status-right-length 50 | |
set -g status-right "%H:%M %d.%m.%Y" | |
setw -g window-status-current-format "|#I:#W|" | |
set-window-option -g automatic-rename off | |
# listen to alerts from all windows | |
set -g bell-action any | |
# rebind pane tiling | |
bind V split-window -h | |
bind H split-window | |
# quick pane cycling | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
# screen like window toggling | |
bind Tab last-window | |
bind Escape copy-mode | |
# Use vim keybindings in copy mode | |
setw -g mode-keys vi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment