home-manager/tests/modules/programs/tmux
toonn a1162e04b3
tmux: add a prefix option overruling shortcut if defined
Previously, it was not possible to set an arbitrary tmux prefix since
CTRL was hardcoded in the module.

To avoid breaking existing configs, a new option was implemented that
conveniently uses the tmux terminology but defaults to null and does
not affect previous behavior when set to null.

The behavior for the shortcut option was not completely replicated,
i.e., it does not bind "b" to send-prefix but stick to the default of
the prefix binding sending prefix (C-b C-b instead of C-b b) and it
does not bind repetition of the prefix (C-b C-b) to `last-window`,
both of these bring the option closer to the default tmux
configuration.

Fixes #1237
2020-12-21 00:10:59 +01:00
..
default-shell.conf tmux: allow setting default-shell before new-session 2020-11-14 10:59:10 +01:00
default-shell.nix tmux: allow setting default-shell before new-session 2020-11-14 10:59:10 +01:00
default.nix tmux: add a prefix option overruling shortcut if defined 2020-12-21 00:10:59 +01:00
disable-confirmation-prompt.conf tmux: reorder tmux.conf content 2020-04-27 22:04:13 +02:00
disable-confirmation-prompt.nix Update nixfmt and apply to a few more files 2020-04-06 12:51:11 +02:00
emacs-with-plugins.conf tmux: reorder tmux.conf content 2020-04-27 22:04:13 +02:00
emacs-with-plugins.nix tests: reduce number of downloads 2019-10-26 13:07:04 +02:00
not-enabled.nix tests: bump nmt version 2019-05-06 00:17:30 +02:00
prefix.conf tmux: add a prefix option overruling shortcut if defined 2020-12-21 00:10:59 +01:00
prefix.nix tmux: add a prefix option overruling shortcut if defined 2020-12-21 00:10:59 +01:00
secure-socket-enabled.nix tests: improve test purity 2020-04-24 21:46:34 +02:00
shortcut-without-prefix.conf tmux: add a prefix option overruling shortcut if defined 2020-12-21 00:10:59 +01:00
shortcut-without-prefix.nix tmux: add a prefix option overruling shortcut if defined 2020-12-21 00:10:59 +01:00
vi-all-true.conf tmux: reorder tmux.conf content 2020-04-27 22:04:13 +02:00
vi-all-true.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00