mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
Updates to tmux config
This commit is contained in:
@@ -51,7 +51,7 @@ bind m set monitor-activity
|
||||
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
|
||||
|
||||
# Better split pane
|
||||
bind | splitw -h
|
||||
bind \\ splitw -h
|
||||
bind - splitw -v
|
||||
|
||||
# Use Alt-arrow keys to navigate panes
|
||||
@@ -63,6 +63,9 @@ bind -T prefix j select-pane -D
|
||||
bind -T prefix k select-pane -U
|
||||
bind -T prefix h select-pane -L
|
||||
bind -T prefix l select-pane -R
|
||||
bind-key -r K kill-pane
|
||||
bind-key -r ! break-pane -d -n _hidden_pane
|
||||
bind-key -r @ join-pane -s $.1
|
||||
|
||||
# Use Shift-arrow keys to navigate windows.
|
||||
bind -n S-Left previous-window
|
||||
@@ -70,6 +73,7 @@ bind -n S-Right next-window
|
||||
|
||||
bind-key -r f run-shell "tmux neww ~/.local/scripts/tmux-sessionator"
|
||||
bind-key -r C run-shell "tmux neww ~/.local/scripts/tmux-sessionator ~/.dotfiles"
|
||||
bind-key -r S run-shell "tmux neww ~/.local/scripts/ts"
|
||||
|
||||
# reload new changes
|
||||
bind-key r source-file ~/.config/tmux/tmux.conf\; \display-message "source-file done"
|
||||
@@ -80,18 +84,5 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
set -g @plugin 'erikw/tmux-powerline'
|
||||
|
||||
|
||||
# Create a single default session - because a session is created here, tmux
|
||||
# should be started with "tmux attach" rather than "tmux new"
|
||||
#new -d -s0 -nirssi 'exec irssi'
|
||||
#set -t0:0 monitor-activity on
|
||||
#set -t0:0 aggressive-resize on
|
||||
#neww -d -ntodo 'exec emacs ~/TODO'
|
||||
#setw -t0:1 aggressive-resize on
|
||||
#neww -d -nmutt 'exec mutt'
|
||||
#setw -t0:2 aggressive-resize on
|
||||
#neww -d
|
||||
#neww -d neww -d
|
||||
|
||||
# Needs to stay at the bottom.
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user