mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
tmux updates
This commit is contained in:
12
.tmux.conf
12
.tmux.conf
@@ -3,21 +3,21 @@
|
||||
set-option -g prefix C-a
|
||||
unbind-key C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
|
||||
# Use Alt-arrow keys to switch panes
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
|
||||
# Shift arrow to switch windows
|
||||
bind -n S-Left previous-window
|
||||
bind -n S-Right next-window
|
||||
|
||||
|
||||
# Set easier window split keys
|
||||
bind-key v split-window -h
|
||||
bind-key h split-window -v
|
||||
|
||||
|
||||
# Easy config reload
|
||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|
||||
######################## Key Bindings ########################
|
||||
@@ -52,4 +52,8 @@ set -g history-limit 10000
|
||||
|
||||
# Mouse mode
|
||||
setw -g mouse on
|
||||
|
||||
# Restore tmux-sessions -> https://github.com/tmux-plugins/tmux-resurrect
|
||||
run-shell ~/downloads/softwares/tmux-resurrect/resurrect.tmux
|
||||
######################## Other Features ########################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user