Set default F without Shift
This commit is contained in:
parent
dad856bd5e
commit
205b7e35cb
@ -1,6 +0,0 @@
|
||||
# From byobu
|
||||
bind -n F2 new-window
|
||||
bind -n F3 previous-window
|
||||
bind -n F4 next-window
|
||||
bind -n F8 command-prompt -p "(rename-window) " "rename-window '%%'"
|
||||
bind -n S-F12 source ~/.config/tmux/tmux.conf \; display-message "F-keys: SHIFT"
|
6
tmux-shift.conf
Normal file
6
tmux-shift.conf
Normal file
@ -0,0 +1,6 @@
|
||||
# From byobu
|
||||
bind -n S-F2 new-window
|
||||
bind -n S-F3 previous-window
|
||||
bind -n S-F4 next-window
|
||||
bind -n S-F8 command-prompt -p "(rename-window) " "rename-window '%%'"
|
||||
bind -n S-F12 source ~/.config/tmux/tmux.conf \; display-message "F-keys: NO SHIFT"
|
11
tmux.conf
11
tmux.conf
@ -32,11 +32,11 @@ unbind -n F3
|
||||
unbind -n F4
|
||||
unbind -n F8
|
||||
|
||||
bind -n S-F2 new-window
|
||||
bind -n S-F3 previous-window
|
||||
bind -n S-F4 next-window
|
||||
bind -n S-F8 command-prompt -p "(rename-window) " "rename-window '%%'"
|
||||
bind -n S-F12 source ~/.config/tmux/tmux-no-shift.conf \; display-message "F-keys: NO SHIFT"
|
||||
bind -n F2 new-window
|
||||
bind -n F3 previous-window
|
||||
bind -n F4 next-window
|
||||
bind -n F8 command-prompt -p "(rename-window) " "rename-window '%%'"
|
||||
bind -n S-F12 source ~/.config/tmux/tmux-shift.conf \; display-message "F-keys: SHIFT"
|
||||
|
||||
# Shift Alt vim keys to switch windows
|
||||
# bind -n M-H previous-window
|
||||
@ -64,3 +64,4 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind '|' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
unbind M-Right
|
||||
|
Loading…
Reference in New Issue
Block a user