diff options
| author | pablu <me@pablu.de> | 2026-06-19 00:37:46 +0200 |
|---|---|---|
| committer | pablu <me@pablu.de> | 2026-06-19 00:37:46 +0200 |
| commit | 04d720f6c84d52445a0808fffae553b37408a4a2 (patch) | |
| tree | ab547ec14045b7d647f8ce03a718f3e6ee30764e /dot_config/nvim/lua/plugins/tmux.lua.tmpl | |
| parent | 9d0e106178a14651f5290dd742761167c353631e (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.tmpl | 19 |
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 }} |
