adjust keybinds
This commit is contained in:
parent
714ffaadc4
commit
8d819221ff
@ -38,12 +38,20 @@ bind-key h select-pane -L
|
||||
bind-key j select-pane -D
|
||||
bind-key k select-pane -U
|
||||
bind-key l select-pane -R
|
||||
bind-key C-k select-pane -L
|
||||
bind-key C-j select-pane -D
|
||||
bind-key C-k select-pane -U
|
||||
bind-key C-l select-pane -R
|
||||
|
||||
# Resize panes - less pain
|
||||
bind-key C-J resize-pane -D 5
|
||||
bind-key C-K resize-pane -U 5
|
||||
bind-key C-H resize-pane -L 5
|
||||
bind-key C-L resize-pane -R 5
|
||||
# Resize panes
|
||||
bind-key H resize-pane -L 10
|
||||
bind-key J resize-pane -D 10
|
||||
bind-key K resize-pane -U 10
|
||||
bind-key L resize-pane -R 10
|
||||
|
||||
# Select windows
|
||||
bind-key C-n next-window
|
||||
bind-key C-p next-window
|
||||
|
||||
# Move windows easier
|
||||
bind-key -r < swap-window -t -1
|
||||
@ -57,6 +65,9 @@ bind c new-window -c '#{pane_current_path}'
|
||||
# re-source this conf
|
||||
bind-key r source-file ~/.tmux.conf \; display-message "Sourced ~/.tmux.conf!"
|
||||
|
||||
# Run manual page in a split window
|
||||
# bind-key K command-prompt "split-window 'exec man %%'"
|
||||
|
||||
# source local confs if they exist
|
||||
if-shell -b '[ -f "$HOME/.config/tmux.conf" ]' "source-file ~/.config/tmux.conf"
|
||||
if-shell -b '[ -f "$HOME/.local/tmux.conf" ]' "source-file ~/.local/tmux.conf"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user