You've already forked dotfiles
feat: Cleaning up the tmux config, cleanup of zsh aliases and moving
some functions to aliases
This commit is contained in:
28
tmux.conf
28
tmux.conf
@@ -1,6 +1,6 @@
|
||||
# True color support
|
||||
set-option -g default-terminal "tmux-256color"
|
||||
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||
set-option -g default-terminal 'tmux-256color'
|
||||
set-option -ga terminal-overrides ',xterm-256color:Tc'
|
||||
|
||||
# Set encoding to Unicode8
|
||||
setw -gq utf8 on
|
||||
@@ -14,30 +14,24 @@ set -g mouse on
|
||||
# Disable auto-renaming of windows
|
||||
set-option -g allow-rename
|
||||
|
||||
# Bindings
|
||||
## More comfortable prefix binding
|
||||
# unbind C-b
|
||||
# set-option -g prefix C-Space
|
||||
# bind-key C-Space send-prefix
|
||||
# More natural window splits
|
||||
bind \\ split-window -h -c '#{pane_current_path}'
|
||||
bind - split-window -v -c '#{pane_current_path}'
|
||||
|
||||
## More natural window splits
|
||||
bind \\ split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
|
||||
## Remove original split shortcuts
|
||||
# Remove original split shortcuts
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
## Reload the config while inside of tmux
|
||||
bind r source-file ~/.tmux.conf; display-message "Config reloaded..."
|
||||
# Reload the config while inside of tmux
|
||||
bind r source-file ~/.tmux.conf; display-message 'Config reloaded...'
|
||||
|
||||
## Better pane navigation
|
||||
# Better pane navigation
|
||||
bind -n C-M-h select-pane -L
|
||||
bind -n C-M-j select-pane -D
|
||||
bind -n C-M-k select-pane -U
|
||||
bind -n C-M-l select-pane -R
|
||||
|
||||
## Quick jump between windows like buffers in nvim
|
||||
# Quick jump between windows like buffers in nvim
|
||||
bind -n M-h previous-window
|
||||
bind -n M-l next-window
|
||||
|
||||
@@ -47,5 +41,5 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'egel/tmux-gruvbox'
|
||||
|
||||
## Required for TPM plugins
|
||||
# Required for TPM plugins
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user