mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Major Update
- Updated repo to support both mac and kde neon - bootstrap.sh updated to auto-detect OS and read from the required directory - Added VIM & NeoVIM dot files
This commit is contained in:
57
common/.tmux.conf
Normal file
57
common/.tmux.conf
Normal file
@@ -0,0 +1,57 @@
|
||||
######################## Key Bindings ########################
|
||||
# Change prefix to -> (Ctrl + a)
|
||||
set-option -g prefix C-a
|
||||
unbind-key C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# Use Shift-arrow keys to switch panes
|
||||
bind -n S-Left select-pane -L
|
||||
bind -n S-Right select-pane -R
|
||||
bind -n S-Up select-pane -U
|
||||
bind -n S-Down select-pane -D
|
||||
|
||||
# Alt arrow to switch windows
|
||||
bind -n M-Left previous-window
|
||||
bind -n M-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 ########################
|
||||
|
||||
|
||||
|
||||
######################## 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
|
||||
|
||||
# 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