diff --git a/lua/custom/plugins/configs/tabby.lua b/lua/custom/plugins/configs/tabby.lua new file mode 100644 index 0000000..f57a8bd --- /dev/null +++ b/lua/custom/plugins/configs/tabby.lua @@ -0,0 +1,22 @@ +local M = {} + +M.setup = function() + vim.g.tabby_keybinding_accept = '' + vim.g.tabby_filetype_dict = { + bash = "shellscript", + sh = "shellscript", + cs = "csharp", + objc = "objective-c", + objcpp = "objective-cpp", + make = "makefile", + cuda = "cuda-cpp", + text = "plaintext", + rust = "rust", + go = "go", + javascript = "javascript" + } + + +end + +return M diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 9c0437f..4e890a1 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -207,6 +207,34 @@ return { } }, + ["TabbyML/vim-tabby"] = { + keys = {"tb"}, + -- event = "BufRead", + cmd = {"Tabby*"}, + config = function() + require("custom.plugins.configs.tabby").setup() + vim.fn["tabby#OnVimEnter"]() + end + }, + -- ["jackMort/ChatGPT.nvim"] = { + -- -- lock = true, + -- opt = true, + -- keys = {"gpt"}, + -- module_pattern = {"chatgpt*"}, + -- after = {"nui.nvim", "telescope.nvim"}, + -- setup = function() + -- require("custom.plugins.configs.chat-gpt").load_api_key() + -- end, + -- config = function() + -- require("custom.plugins.configs.chat-gpt").setup() + -- end, + -- requires = { + -- "MunifTanjim/nui.nvim", + -- "nvim-lua/plenary.nvim", + -- "nvim-telescope/telescope.nvim" + -- } + -- }, + -- snippets ["honza/vim-snippets"] = { -- {{{ module = { "cmp", "cmp_nvim_lsp" },