change structure to use stow for simlink managing
This commit is contained in:
44
.config/tmux/tmux.conf
Normal file
44
.config/tmux/tmux.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
set -g default-terminal "xterm-256color"
|
||||
|
||||
bind-key r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!"
|
||||
|
||||
# remap prefix
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
|
||||
|
||||
# set vi-mode
|
||||
set-window-option -g mode-keys vi
|
||||
# keybindings
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
|
||||
# VIM like pane moving
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Remap arrow keys (normally pane switch) to be resize,
|
||||
# which will now be double-mapped with ctrl+arrow
|
||||
bind -r Up resize-pane -U
|
||||
bind -r Down resize-pane -D
|
||||
bind -r Left resize-pane -L
|
||||
bind -r Right resize-pane -R
|
||||
|
||||
set -g renumber-windows on
|
||||
set-option -g allow-rename off
|
||||
|
||||
set-option -g history-limit 5000
|
||||
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
set-option -g update-environment "SSH_AUTH_SOCK \
|
||||
SSH_CONNECTION \
|
||||
DISPLAY "
|
||||
Reference in New Issue
Block a user