From f7bbc5e6740f6199d7ed0fe704daaa7efd98c093 Mon Sep 17 00:00:00 2001 From: Tom Li Dobnik Date: Tue, 3 Mar 2026 18:46:16 +0100 Subject: nvim update --- .config/nvim-old/lua/config/plugins/utils.lua | 58 +++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .config/nvim-old/lua/config/plugins/utils.lua (limited to '.config/nvim-old/lua/config/plugins/utils.lua') diff --git a/.config/nvim-old/lua/config/plugins/utils.lua b/.config/nvim-old/lua/config/plugins/utils.lua new file mode 100644 index 0000000..273de1a --- /dev/null +++ b/.config/nvim-old/lua/config/plugins/utils.lua @@ -0,0 +1,58 @@ +return { + { + "ojroques/nvim-osc52", + event = "VeryLazy", + config = function() + vim.keymap.set("v", "Y", require("osc52").copy_visual) + end, + }, + { -- For CSS colors + "NvChad/nvim-colorizer.lua", + event = "BufReadPre", + opts = { + user_default_options = { + names = false, + tailwind = "both", + css = true, + css_fn = true, + mode = "background", + }, + }, + }, + { -- for file outline + "hedyhli/outline.nvim", + event = "VeryLazy", + opts = {}, + }, + { -- Undotree + "mbbill/undotree", + event = "VeryLazy", + config = function() + vim.g.undotree_SplitWidth = 50 + vim.g.undotree_WindowLayout = 3 + end, + }, + { -- for colored brackets and divs + "HiPhish/rainbow-delimiters.nvim", + event = "VeryLazy", + }, + { -- for tmux navigation + event = "VeryLazy", + "christoomey/vim-tmux-navigator", + cmd = { + "TmuxNavigateLeft", + "TmuxNavigateDown", + "TmuxNavigateUp", + "TmuxNavigateRight", + "TmuxNavigatePrevious", + "TmuxNavigatorProcessList", + }, + keys = { + { "", "TmuxNavigateLeft" }, + { "", "TmuxNavigateDown" }, + { "", "TmuxNavigateUp" }, + { "", "TmuxNavigateRight" }, + { "", "TmuxNavigatePrevious" }, + }, + }, +} -- cgit v1.2.3