Mouse button 2 ( MouseDown2, MouseUp2, …) is the middle mouse button and 3 ( MouseDown3, MouseUp3, …) is the right button. StatusRight or StatusDefault (any other part of the status line that isn’t the window list or left or right parts). MouseDragEnd2, DoubleClick2, TripleClick2, MouseDown3, MouseUp3, MouseDrag3, MouseDragEnd3, DoubleClick3, TripleClick3, WheelUp, WheelDown.Įach event always needs to be suffixed with one of the target locations Pane, Border, Status (the window list in the status line), StatusLeft, ![]() The mouse events are MouseDown1, MouseUp1, MouseDrag1, MouseDragEnd1, DoubleClick1, TripleClick1, MouseDown2, MouseUp2, MouseDrag2, You can use \ to separate multiple commands in a single key binding: Binding a key to run multiple commands at once You have to repeat the key before the prefix times out (default: 500 milliseconds). ![]() The repeat-time setting decides how much time Keep hitting t to open more without having to hit Ctrl + b each time. Use -T copy-mode-vi to bind keys in this table.Įxample: bind -T copy-mode-vi C-t new-windowįor key bindings in the prefix table the -r option can be used to make them repeatable.įor example with tmux bind -r t new-window Ctrl + b t is needed to open a first new window, then you can (add set-window-option -g mode-keys vi to your ~/.nf file to force vi-style). Use -n (a shortcut for -T root) to bind keys in this table.Ĭopy-mode or copy-mode-vi for when in copy mode, depending on whether you’re using emacs- or vi-style key bindings mode Root: Keys in this table can just be pressed, without any prefix. This is the table that theīind command uses by default. Prefix: Keys in this table must be pressed after the prefix Ctrl + b to trigger the binding. There are various other modifier key limitations as well, see Modifier KeysĮvery keybinding lives in a key table. ![]() the binding will be triggered by either Ctrl + Shift + n Shift‘d keys also don’t work with Ctrl because Ctrl-modified keys are case-insensitive in terminals. , etc don’t work.īut if you want to bind Alt + Shift + ←, for example, then it is bind M-S-Left. S- doesn’t work with keys that send a different character when Shift‘ed.īind S-n.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |