From fb1d4a8e0307bc187016dcba5961ced1d94b5df8 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Thu, 28 Nov 2024 17:36:05 +0000 Subject: [PATCH] fix(vim): move vim-tmux-navigator to an opt pluing I am currently using the wezterm all the time now. This is working really well and there should be no need for tmux. One day it may get removed, for now this can be loaded when we need it. --- modules/nvim.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/nvim.lua b/modules/nvim.lua index 6d31a53..a1dbfbb 100644 --- a/modules/nvim.lua +++ b/modules/nvim.lua @@ -41,7 +41,6 @@ local start_plugins = { ["nvim-treesitter"] = { url = "https://github.com/nvim-treesitter/nvim-treesitter.git" }, ["nvim-treesitter-textobjects"] = { url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects.git" }, ["vim-surround"] = { url = "https://github.com/tpope/vim-surround.git" }, - ["vim-tmux-navigator"] = { url = "https://github.com/christoomey/vim-tmux-navigator.git" }, ["cmp-cmdline"] = { url = "https://github.com/hrsh7th/cmp-cmdline.git", revision = "main" }, ["copilot"] = { url = "https://github.com/zbirenbaum/copilot.lua.git" }, ["copilot-cmp"] = { url = "https://github.com/zbirenbaum/copilot-cmp.git" }, @@ -54,6 +53,7 @@ local start_plugins = { local opt_plugins = { ["command-t"] = { url = "https://github.com/wincent/command-t.git" }, + ["vim-tmux-navigator"] = { url = "https://github.com/christoomey/vim-tmux-navigator.git" }, } -- Install all of the plugins I want to start at boot @@ -82,3 +82,4 @@ configz.run(string.format("rm -rf %s/vim-puppet", nvim_plugin_dir_start)) configz.run(string.format("rm -rf %s/base16-vim", nvim_plugin_dir_start)) configz.run(string.format("rm -rf %s/vim-fugitive", nvim_plugin_dir_start)) configz.run(string.format("rm -rf %s/vim-rhubarb", nvim_plugin_dir_start)) +configz.run(string.format("rm -rf %s/vim-tmux-navigator", nvim_plugin_dir_start))