Skip to content

Instantly share code, notes, and snippets.

@KhaledMohamedP
Last active July 12, 2019 15:33
Show Gist options
  • Save KhaledMohamedP/9607daa066424391c9de61bd4b5b6ec0 to your computer and use it in GitHub Desktop.
Save KhaledMohamedP/9607daa066424391c9de61bd4b5b6ec0 to your computer and use it in GitHub Desktop.
set-option -g default-shell "/usr/local/bin/fish" │Type help for instructions on how to use fish
unbind /
bind / last-window
unbind %
bind - split-window -v
unbind '"'
bind \ split-window -h
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# resize pane c+b + c+h/j/k/l
bind -r C-k resize-pane -U 10
bind -r C-j resize-pane -D 10
bind -r C-h resize-pane -L 10
bind -r C-l resize-pane -R 10
# binding sync command across panes
bind e setw synchronize-panes
bind E setw synchronize-panes off
@KhaledMohamedP
Copy link
Author

For fish

alias ftmux='tmux attach -t $1'
alias ktmux='killall tmux'

@KhaledMohamedP
Copy link
Author

Karabiner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment