Skip to content

Commit

Permalink
Update tmux.conf file (#19)
Browse files Browse the repository at this point in the history
* Update tmux.conf file

* Formatting
  • Loading branch information
nicholashoule authored Dec 2, 2022
1 parent 9252e8c commit 5203f6f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions home/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

# -- default prefix
set-option -g prefix C-a

unbind-key C-b
bind-key C-a send-prefix # Changing the default prefix key, prefix to C-a

Expand All @@ -18,13 +19,16 @@ bind r source-file ~/.tmux.conf \; \
display-message "source-file done"

# -- escape
set-option -s escape-time 0 # Fastest command sequences
set-option -sg escape-time 0 # Fastest command sequences
set-option -sg repeat-time 600 # Increase repeat timeout

# -- buffers
set-option -g history-limit 100000 # Increase the history buffer size
set-option -g buffer-limit 200 # tmux maintains a set of named paste buffers

# -- help
# C-a ? # Describe key binding

# }}}
# COLOR & DISPLAY {{{

Expand Down Expand Up @@ -60,6 +64,7 @@ set-option -g visual-silence off
set-option -g bell-action none

# -- clock
#C-a t # Show a clock
set-window-option -g clock-mode-style 24 # 24hr clock
set-window-option -g clock-mode-colour blue # Set clock color to blue

Expand All @@ -81,23 +86,20 @@ bind -r K resize-pane -U 2 # increase up
bind -r L resize-pane -R 2 # increase right

# -- window
# splitting w/ |-
bind -r | split-window -h # split horizontal
bind -r - split-window -v # split vertical
# splitting with h:% v:"
#C-a % Split window horizontally
#C-a " Split window vertically

# ctrl + shift + left/right to move windows left or right
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1

# }}}
# MOUSE & COPY+PASTE {{{

# -- mouse
set-option -g mouse on # Enable mouse support
set-option -g terminal-overrides 'xterm*:smcup@:rmcup@' # Allow scroll wheel up and down

# -- copy
# NONE
#C-a [ # Enter copy mode
#C-a ] # Paste the most recent paste buffer

# }}}
# STATUS {{{
Expand Down

0 comments on commit 5203f6f

Please sign in to comment.