mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
More tmux configs from 'https://github.com/thoughtbot/dotfiles/blob/master/tmux.conf'
This commit is contained in:
@@ -43,7 +43,7 @@ Width 1366=446
|
|||||||
[MainWindow]
|
[MainWindow]
|
||||||
Height 768=703
|
Height 768=703
|
||||||
MenuBar=Disabled
|
MenuBar=Disabled
|
||||||
State=AAAA/wAAAAD9AAAAAwAAAAAAAAERAAABfvwCAAAAAvsAAAAUAHAAbABhAGMAZQBzAEQAbwBjAGsBAAAAIgAAALgAAAByAQAAA/sAAAAWAGYAbwBsAGQAZQByAHMARABvAGMAawEAAADbAAAAxQAAAHIBAAADAAAAAQAAALAAAAKd/AIAAAAB+wAAABAAaQBuAGYAbwBEAG8AYwBrAAAAACIAAAKdAAAAIgEAAAMAAAADAAAFVgAAAR78AQAAAAH7AAAAGAB0AGUAcgBtAGkAbgBhAGwARABvAGMAawEAAAAAAAAFVgAAAEQBAAADAAAERAAAAX4AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAA=
|
State=AAAA/wAAAAD9AAAAAwAAAAAAAAERAAACnfwCAAAAAvsAAAAUAHAAbABhAGMAZQBzAEQAbwBjAGsBAAAAIgAAAUMAAAByAQAAA/sAAAAWAGYAbwBsAGQAZQByAHMARABvAGMAawEAAAFmAAABWQAAAHIBAAADAAAAAQAAALAAAAKd/AIAAAAB+wAAABAAaQBuAGYAbwBEAG8AYwBrAAAAACIAAAKdAAAAIgEAAAMAAAADAAAFVgAAAR78AQAAAAH7AAAAGAB0AGUAcgBtAGkAbgBhAGwARABvAGMAawAAAAAAAAAFVgAAAEQBAAADAAAERAAAAp0AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAA=
|
||||||
ToolBarsMovable=Disabled
|
ToolBarsMovable=Disabled
|
||||||
Width 1366=1366
|
Width 1366=1366
|
||||||
Window-Maximized 768x1366=true
|
Window-Maximized 768x1366=true
|
||||||
|
|||||||
37
.tmux.conf
37
.tmux.conf
@@ -1,3 +1,4 @@
|
|||||||
|
######################## Key Bindings ########################
|
||||||
# Change prefix to -> (Ctrl + a)
|
# Change prefix to -> (Ctrl + a)
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
unbind-key C-a
|
unbind-key C-a
|
||||||
@@ -13,12 +14,42 @@ bind -n M-Down select-pane -D
|
|||||||
bind -n S-Left previous-window
|
bind -n S-Left previous-window
|
||||||
bind -n S-Right next-window
|
bind -n S-Right next-window
|
||||||
|
|
||||||
# Mouse mode
|
|
||||||
setw -g mouse on
|
|
||||||
|
|
||||||
# Set easier window split keys
|
# Set easier window split keys
|
||||||
bind-key v split-window -h
|
bind-key v split-window -h
|
||||||
bind-key h split-window -v
|
bind-key h split-window -v
|
||||||
|
|
||||||
# Easy config reload
|
# Easy config reload
|
||||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|
||||||
|
######################## Key Bindings ########################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################## Windows ########################
|
||||||
|
# Start window numbers at 1 to match keyboard order with tmux window order
|
||||||
|
set -g base-index 1
|
||||||
|
set-window-option -g pane-base-index 1
|
||||||
|
|
||||||
|
# Renumber windows sequentially after closing any of them
|
||||||
|
set -g renumber-windows on
|
||||||
|
######################## Windows ########################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################## Colors ########################
|
||||||
|
# improve colors
|
||||||
|
set -g default-terminal 'screen-256color'
|
||||||
|
|
||||||
|
# Soften status bar color from harsh green to light gray
|
||||||
|
set -g status-style bg='#666666',fg='#aaaaaa'
|
||||||
|
|
||||||
|
######################## Colors ########################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################## Other Features ########################
|
||||||
|
# Increase scrollback lines
|
||||||
|
set -g history-limit 10000
|
||||||
|
|
||||||
|
# Mouse mode
|
||||||
|
setw -g mouse on
|
||||||
|
######################## Other Features ########################
|
||||||
|
|||||||
Reference in New Issue
Block a user