Last active
January 11, 2021 20:45
-
-
Save mtigdemir/26f4381725cdd90c5bc7b2d65e6dca84 to your computer and use it in GitHub Desktop.
Tmux Conf
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
## In | |
name: project | |
root: ~/Workspace | |
windows: | |
- local: | |
layout: e9c7,272x60,0,0{136x60,0,0[136x30,0,0,37,136x29,0,31,42],135x60,137,0,41} | |
panes: | |
- echo 'Command' | |
- cd ~/Workspace | |
- homestead up && homestead ssh | |
- remote: ssh remote-server |
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
# Setting the prefix from C-b to C-a | |
set -g prefix C-a | |
#setting the delay between prefix and command | |
set -s escape-time 1 | |
# Free the original Ctrl-b prefix keybinding | |
unbind C-b | |
# Set the base index for windows to 1 instead of 0 | |
set -g base-index 1 | |
# Set the base index for panes to 1 instead of 0 | |
setw -g pane-base-index 1 | |
# New shortcut for bind the configuratoion changes | |
bind r source-file ~/.tmux.conf \; display "Reloaded !" | |
# Ensure that we can send Ctrl-A to other apps | |
bind C-a send-prefix | |
# splitting panes with | and - | |
bind | split-window -h | |
bind - split-window -v | |
# mouse support - set to on if you want to use the mouse | |
set -g mouse off | |
set -g default-terminal "screen-256color" | |
# set the status line's colors | |
set -g status-style fg=white,bg=black | |
# set colors for the active window | |
setw -g window-status-current-style fg=white,bold,bg=red |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment