Stuff
This commit is contained in:
parent
8fcb0e68ce
commit
9bb3dcbd66
2 changed files with 23 additions and 1 deletions
|
@ -307,7 +307,7 @@ shell:
|
|||
program: /bin/zsh
|
||||
args:
|
||||
- -c
|
||||
- tmux -l
|
||||
- sleep 1 && tmux new -A -s DefaultSession
|
||||
|
||||
# Key bindings
|
||||
#
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# set default terminal
|
||||
set -ga terminal-overrides ",xterm-kitty:Tc,alacritty:Tc"
|
||||
#set -g default-terminal "tmux-256color"
|
||||
# set mouse/history stuff
|
||||
set -g mouse on
|
||||
set -g history-limit 20000
|
||||
|
@ -30,6 +31,16 @@ set -g status-fg white
|
|||
#### Key Bindings ####
|
||||
######################
|
||||
|
||||
# Unbind Arrow keys
|
||||
unbind Up
|
||||
unbind Down
|
||||
unbind Left
|
||||
unbind Right
|
||||
unbind C-Up
|
||||
unbind C-Down
|
||||
unbind C-Left
|
||||
unbind C-Right
|
||||
|
||||
# synchronize all panes in window
|
||||
bind y setw synchronize-panes
|
||||
|
||||
|
@ -39,6 +50,16 @@ bind j select-pane -D
|
|||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Resize-panes
|
||||
bind Right resize-pane -R 10
|
||||
bind Left resize-pane -L 10
|
||||
bind Up resize-pane -U 10
|
||||
bind Down resize-pane -D 10
|
||||
|
||||
# Move windows options
|
||||
bind C-h previous-window
|
||||
bind C-l next-window
|
||||
|
||||
# vim-like copy-mode
|
||||
setw -g mode-keys vi
|
||||
unbind [
|
||||
|
@ -52,4 +73,5 @@ bind -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "tmux save-buffer - | reatt
|
|||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
|
||||
|
||||
set -s escape-time 0
|
||||
|
|
Loading…
Add table
Reference in a new issue