diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index a5dc987c..6939a7e6 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -88,6 +88,7 @@ "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, "tokyonight.nvim": { "branch": "main", "commit": "b262293ef481b0d1f7a14c708ea7ca649672e200" }, "trailblazer.nvim": { "branch": "main", "commit": "674bb6254a376a234d0d243366224122fc064eab" }, + "treesj": { "branch": "main", "commit": "94f6df623f2d15630b1b617abff39962024cb501" }, "trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" }, "ts-comments.nvim": { "branch": "main", "commit": "872dcfa0418f4a33b7437fb4d9f4e89f2f000d74" }, "venv-selector.nvim": { "branch": "regexp", "commit": "e82594274bf7b54387f9a2abe65f74909ac66e97" }, diff --git a/.config/nvim/lua/plugins/treesj.lua b/.config/nvim/lua/plugins/treesj.lua index e69de29b..314435e9 100644 --- a/.config/nvim/lua/plugins/treesj.lua +++ b/.config/nvim/lua/plugins/treesj.lua @@ -0,0 +1,21 @@ +return { + "Wansmer/treesj", + dependencies = { + "nvim-treesitter/nvim-treesitter", + }, + -- event = "VimEnter", + opts = { + use_default_keymaps = false, + }, + keys = { + { + "ct", + function() + require("treesj").toggle() + end, + { desc = "Treesj Toggle" }, + }, + -- { "cts", function() require("treesj").split() end, { desc = "Treesj Split" } }, + -- { "ctj", function() require("treesj").join() end, { desc = "Treesj Join" } }, + }, +} diff --git a/.config/nvim/lua/plugins/tridactyl.lua b/.config/nvim/lua/plugins/tridactyl.lua index 05b6926e..002eb24d 100644 --- a/.config/nvim/lua/plugins/tridactyl.lua +++ b/.config/nvim/lua/plugins/tridactyl.lua @@ -1 +1,6 @@ -return { lazy = true, "tridactyl/vim-tridactyl" } +return { + -- lazy = true, + -- event = "BufReadPre /home/fic/tridactyl/trydactylrc", + ft = "tridactyl", + "tridactyl/vim-tridactyl", +} diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index f98edb0c..d5f3eab4 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -181,7 +181,7 @@ bind gobble 1 markaddglobal " Seturl set allowautofocus true -seturl *(chatgpt|openai)\*.com allowautofocus false +" seturl *(chatgpt|openai)\*.com allowautofocus false seturl monkeytype.com allowautofocus true " Autocmds