aboutsummaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/tmux.lua.tmpl
diff options
context:
space:
mode:
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 }}