From 35ddc6a33ccc4e1335fe508a053f1f99e4341809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 28 Apr 2023 08:12:15 +0200 Subject: [PATCH] feat: add tmux-vim-navigator --- modules/programs/nvim/default.nix | 1 + modules/programs/nvim/keybinds.lua | 8 -------- modules/programs/tmux.nix | 1 + 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/programs/nvim/default.nix b/modules/programs/nvim/default.nix index 101343f..092636b 100644 --- a/modules/programs/nvim/default.nix +++ b/modules/programs/nvim/default.nix @@ -88,6 +88,7 @@ in promise-async vim-fugitive vim-lion + vim-tmux-navigator ] ++ pluginsWithConfig; }; }; diff --git a/modules/programs/nvim/keybinds.lua b/modules/programs/nvim/keybinds.lua index 0556448..d792a37 100644 --- a/modules/programs/nvim/keybinds.lua +++ b/modules/programs/nvim/keybinds.lua @@ -26,14 +26,6 @@ require("which-key").register({ }, }) --- fast window move -require("which-key").register({ - [""] = { "h", "Move window left" }, - [""] = { "j", "Move window down" }, - [""] = { "k", "Move window up" }, - [""] = { "l", "Move window right" }, -}) - -- tab require("which-key").register({ [""] = { diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix index 00e91ed..912f7ad 100644 --- a/modules/programs/tmux.nix +++ b/modules/programs/tmux.nix @@ -78,6 +78,7 @@ in plugins = with pkgs.tmuxPlugins; [ sensible tmux-fzf + vim-tmux-navigator yank ]; extraConfig =