From 43382cdbbcc9fadc3083bbd09b89d6b41b5e7927 Mon Sep 17 00:00:00 2001 From: gmcmillan82 Date: Mon, 13 May 2024 19:59:11 +0200 Subject: [PATCH] Add mappings for tmux --- lua/custom/mappings.lua | 12 ++++++++++++ lua/custom/plugins/vim-tmux-navigator.lua | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 lua/custom/mappings.lua create mode 100644 lua/custom/plugins/vim-tmux-navigator.lua diff --git a/lua/custom/mappings.lua b/lua/custom/mappings.lua new file mode 100644 index 00000000..5fb7a93b --- /dev/null +++ b/lua/custom/mappings.lua @@ -0,0 +1,12 @@ +local M = {} + +M.general = { + n = { + [''] = { ' TmuxNavigateLeft', 'window left' }, + [''] = { ' TmuxNavigateRight', 'window right' }, + [''] = { ' TmuxNavigateDown', 'window down' }, + [''] = { ' TmuxNavigateUp', 'window up' }, + }, +} + +return M diff --git a/lua/custom/plugins/vim-tmux-navigator.lua b/lua/custom/plugins/vim-tmux-navigator.lua new file mode 100644 index 00000000..0e3764de --- /dev/null +++ b/lua/custom/plugins/vim-tmux-navigator.lua @@ -0,0 +1,6 @@ +return { + { + 'christoomey/vim-tmux-navigator', + lazy = false, + }, +}