fixed some nonsense with the F-key disable function
This commit is contained in:
parent
0ce0737e29
commit
f4f15bd1d5
1 changed files with 5 additions and 18 deletions
|
|
@ -1,21 +1,8 @@
|
|||
# disable fmux keybindings
|
||||
# this enables re-enabling with Shift-F12 (same as byobu)
|
||||
# disable fmux keybindings (actually, it disables everything.)
|
||||
unbind-key -a
|
||||
|
||||
# this bit enables re-enabling with Shift-F12 (same as byobu)
|
||||
# in fact, this whole concept is ripped wholesale, with love, from byobu
|
||||
|
||||
bind-key -n S-F12 source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux \; source $HOME/.byobu/keybindings.tmux \; display-message "fmux F-keys: ENABLED"
|
||||
bind-key -n S-F12 source $HOME/fmux/f-keys \; display-message "fmux F-keys: ENABLED"
|
||||
|
||||
# unbind everything that might conflict
|
||||
unbind-key -n F2 new-window
|
||||
unbind-key -n F3 previous-window
|
||||
unbind-key -n F4 next-window
|
||||
unbind-key -n F6 detach
|
||||
unbind-key -n F7 copy-mode
|
||||
unbind-key -n C-F6 kill-pane
|
||||
unbind-key -n F8 command-prompt -p "(rename-window) " "rename-window '%%'"
|
||||
unbind-key -n C-F8 command-prompt -p "(rename-session) " "rename-session '%%'"
|
||||
unbind | split-window -h
|
||||
unbind - split-window -v
|
||||
unbind -n M-Left select-pane -L
|
||||
unbind -n M-Right select-pane -R
|
||||
unbind -n M-Up select-pane -U
|
||||
unbind -n M-Down select-pane -D
|
||||
Loading…
Add table
Reference in a new issue