aboutsummaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/tmux.lua.tmpl
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-06-19 00:37:46 +0200
committerpablu <me@pablu.de>2026-06-19 00:37:46 +0200
commit04d720f6c84d52445a0808fffae553b37408a4a2 (patch)
treeab547ec14045b7d647f8ce03a718f3e6ee30764e /dot_config/nvim/lua/plugins/tmux.lua.tmpl
parent9d0e106178a14651f5290dd742761167c353631e (diff)
only smart-nav on gentoo, and not on other systems, same with tmux navigation
Diffstat (limited to 'dot_config/nvim/lua/plugins/tmux.lua.tmpl')
-rw-r--r--dot_config/nvim/lua/plugins/tmux.lua.tmpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/plugins/tmux.lua.tmpl b/dot_config/nvim/lua/plugins/tmux.lua.tmpl
new file mode 100644
index 0000000..5c73b6c
--- /dev/null
+++ b/dot_config/nvim/lua/plugins/tmux.lua.tmpl
@@ -0,0 +1,19 @@
+{{ if ne .chezmoi.hostname "gentoo" }}
+return {
+ 'alexghergh/nvim-tmux-navigation',
+ config = function()
+ require 'nvim-tmux-navigation'.setup {
+ disable_when_zoomed = false, -- defaults to false
+ keybindings = {
+ left = "<C-h>",
+ down = "<C-j>",
+ up = "<C-k>",
+ right = "<C-l>",
+ last_active = "<C-\\>",
+ }
+ }
+ end
+}
+{{ else }}
+return {}
+{{ end }}