diff options
| author | Mel <einebeere@gmail.com> | 2024-10-31 22:59:33 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-31 22:59:33 +0100 |
| commit | fc819dabcc66ae626930b3f78b2f7083e50c0b2e (patch) | |
| tree | cd5a6ea432eb6f814e2714fe5181fe8fca7c9495 /modules/tmux.nix | |
| parent | 9832ed244f3f0393db6e2c2840003caee47beec6 (diff) | |
| download | minerals-fc819dabcc66ae626930b3f78b2f7083e50c0b2e.tar.zst minerals-fc819dabcc66ae626930b3f78b2f7083e50c0b2e.zip | |
Move tmux out of HM and configure jump to use the same key as easymotion
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/tmux.nix')
| -rw-r--r-- | modules/tmux.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/tmux.nix b/modules/tmux.nix new file mode 100644 index 0000000..8aefc69 --- /dev/null +++ b/modules/tmux.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: + +{ + programs.tmux = { + enable = true; + # TODO: check with upstream if maybe the system-level + # tmux configuration can have some of these HM options. + # mouse = true; + keyMode = "vi"; + + plugins = with pkgs.tmuxPlugins; [ + sensible + yank + fpp + open + fuzzback + jump + vim-tmux-navigator + ]; + + extraConfigBeforePlugins = '' + # * jump + # same as bi-directional vim easymotion key + set -g @jump-key 's' + ''; + }; +} |
