only smart-nav on gentoo, and not on other systems, same with tmux navigation

This commit is contained in:
2026-06-19 00:37:46 +02:00
parent 9d0e106178
commit 04d720f6c8
8 changed files with 96 additions and 80 deletions

View File

@@ -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 }}