From a460b48686c51e9113561ca229c0336f666c4719 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Mon, 12 Aug 2024 16:21:09 +0200 Subject: [PATCH] Add .config/nvim/lua/plugins/neotree.lua Add .config/nvim/lua/plugins/tmux.lua --- dot_config/nvim/lua/plugins/neotree.lua | 13 +++++++++++++ dot_config/nvim/lua/plugins/tmux.lua | 17 +++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 dot_config/nvim/lua/plugins/neotree.lua create mode 100644 dot_config/nvim/lua/plugins/tmux.lua diff --git a/dot_config/nvim/lua/plugins/neotree.lua b/dot_config/nvim/lua/plugins/neotree.lua new file mode 100644 index 0000000..b0cc2d0 --- /dev/null +++ b/dot_config/nvim/lua/plugins/neotree.lua @@ -0,0 +1,13 @@ +return { + "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended + "MunifTanjim/nui.nvim", + -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information + }, + keys = { + { "ft", "Neotree toggle", desc = "NeoTree" }, + }, +} diff --git a/dot_config/nvim/lua/plugins/tmux.lua b/dot_config/nvim/lua/plugins/tmux.lua new file mode 100644 index 0000000..0894e2d --- /dev/null +++ b/dot_config/nvim/lua/plugins/tmux.lua @@ -0,0 +1,17 @@ +return { + "christoomey/vim-tmux-navigator", + cmd = { + "TmuxNavigateLeft", + "TmuxNavigateDown", + "TmuxNavigateUp", + "TmuxNavigateRight", + "TmuxNavigatePrevious", + }, + keys = { + { "", "TmuxNavigateLeft" }, + { "", "TmuxNavigateDown" }, + { "", "TmuxNavigateUp" }, + { "", "TmuxNavigateRight" }, + { "", "TmuxNavigatePrevious" }, + }, +}