tmux: mouse support (#3642)
Co-authored-by: Sleroq <sleroq@sleroq.link>
This commit is contained in:
parent
e2c1756e3a
commit
2ffc6d6496
10 changed files with 65 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ let
|
|||
bind-key -N "Kill the current pane" x kill-pane
|
||||
''}
|
||||
|
||||
set -g mouse ${boolToStr cfg.mouse}
|
||||
setw -g aggressive-resize ${boolToStr cfg.aggressiveResize}
|
||||
setw -g clock-mode-style ${if cfg.clock24 then "24" else "12"}
|
||||
set -s escape-time ${toString cfg.escapeTime}
|
||||
|
|
@ -204,6 +205,8 @@ in {
|
|||
description = "VI or Emacs style shortcuts.";
|
||||
};
|
||||
|
||||
mouse = mkEnableOption "mouse support";
|
||||
|
||||
newSession = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue