Some cleanup and rearranging of tmux.conf
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
# tmux display things in 256 colors
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
|
set -g history-limit 20000
|
||||||
|
|
||||||
# unbind default prefix and set it to Ctrl+a
|
# unbind default prefix and set it to Ctrl+a
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
@@ -9,8 +14,12 @@ bind C-a send-prefix
|
|||||||
# make delay shorter
|
# make delay shorter
|
||||||
set -sg escape-time 0
|
set -sg escape-time 0
|
||||||
|
|
||||||
|
# tile all windows
|
||||||
|
unbind =
|
||||||
|
bind = select-layout tiled
|
||||||
|
|
||||||
# cycle through panes
|
# cycle through panes
|
||||||
unbind ^A
|
unbind C-a
|
||||||
unbind o # this is the default key for cycling panes
|
unbind o # this is the default key for cycling panes
|
||||||
bind ^A select-pane -t:.+
|
bind ^A select-pane -t:.+
|
||||||
|
|
||||||
@@ -57,9 +66,6 @@ set -g mouse-select-pane off
|
|||||||
set -g mouse-resize-pane off
|
set -g mouse-resize-pane off
|
||||||
set -g mouse-select-window off
|
set -g mouse-select-window off
|
||||||
|
|
||||||
# tmux display things in 256 colors
|
|
||||||
set -g default-terminal "screen-256color"
|
|
||||||
|
|
||||||
# maximizing and restoring windows
|
# maximizing and restoring windows
|
||||||
unbind Up
|
unbind Up
|
||||||
bind Up new-window -d -n fullscreen \; swap-pane -s fullscreen.1 \; select-window -t fullscreen
|
bind Up new-window -d -n fullscreen \; swap-pane -s fullscreen.1 \; select-window -t fullscreen
|
||||||
|
|||||||
Reference in New Issue
Block a user