tmux
This commit is contained in:
parent
e141ebdef3
commit
cfea2108de
@ -14,6 +14,7 @@
|
||||
|
||||
[shell]
|
||||
program="/opt/homebrew/bin/tmux"
|
||||
args=['new-session', '-A', '-s', 'default']
|
||||
|
||||
[font]
|
||||
normal = { family = "Hack Nerd Font Mono" }
|
||||
|
@ -5,7 +5,7 @@ set -g default-terminal "screen-256color"
|
||||
|
||||
|
||||
# Set ZSH
|
||||
set -g default-shell /usr/bin/zsh
|
||||
set -g default-shell /bin/zsh
|
||||
|
||||
bind -r j resize-pane -D 5
|
||||
bind -r k resize-pane -U 5
|
||||
@ -14,17 +14,6 @@ bind -r l resize-pane -R 5
|
||||
|
||||
bind -r m resize-pane -Z
|
||||
|
||||
# Bindings for moving cursor by one word
|
||||
if-shell "uname | grep -q 'Darwin'" {
|
||||
# macOS specific bindings
|
||||
bind-key -n C-fn-Left send-keys M-b
|
||||
bind-key -n C-fn-Right send-keys M-f
|
||||
} else {
|
||||
# Linux specific bindings
|
||||
bind-key -n C-Left send-keys M-b
|
||||
bind-key -n C-Right send-keys M-f
|
||||
}
|
||||
|
||||
# switch panes using Alt-arrow without prefix
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
|
Loading…
Reference in New Issue
Block a user