From fc819dabcc66ae626930b3f78b2f7083e50c0b2e Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 31 Oct 2024 22:59:33 +0100 Subject: Move tmux out of HM and configure jump to use the same key as easymotion Signed-off-by: Mel --- modules/tmux.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 modules/tmux.nix (limited to 'modules/tmux.nix') 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' + ''; + }; +} -- cgit 1.4.1