diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index ca9b8b39..3e9e7a67 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -2,7 +2,7 @@ "ChatGPT.nvim": { "branch": "main", "commit": "b50fdaf7836c18e0de2f1def0c1f39d56ef8bced" }, "LazyVim": { "branch": "main", "commit": "68ff818a5bb7549f90b05e412b76fe448f605ffb" }, "LuaSnip": { "branch": "master", "commit": "df58ee1664cfda71479cd2bbd56114f56599eba6" }, - "SchemaStore.nvim": { "branch": "main", "commit": "c2c6bd234301876a4bb310be08d23dc45768524d" }, + "SchemaStore.nvim": { "branch": "main", "commit": "54a4ea14b70cd3fc9db8217bb4ac9e1f78bfa390" }, "actions-preview.nvim": { "branch": "master", "commit": "b2c89c2937d527c22deb194d574d2a93246cd869" }, "alpha-nvim": { "branch": "main", "commit": "234822140b265ec4ba3203e3e0be0e0bb826dff5" }, "animation.nvim": { "branch": "main", "commit": "fb77091ab72ec9971aee0562e7081182527aaa6a" }, @@ -111,7 +111,7 @@ "persistent-breakpoints.nvim": { "branch": "main", "commit": "db2ad5974b0435cb806cd287e7525219d6ac4bd3" }, "plenary.nvim": { "branch": "master", "commit": "366b0837486f60ae0e7550c15de8ff66d057c4cd" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "fdd507455a10c3841027c04ab33012d24d5b2c92" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "6aaaf119e32ccf707c439aeac67041221359f031" }, "rayso.nvim": { "branch": "main", "commit": "debedaa7f0ed754ab16a292a45bbae8dcc3410c5" }, "refactoring.nvim": { "branch": "master", "commit": "156532476deb10b1b2a32cb38e1078b3f9951c42" }, "rest.nvim": { "branch": "main", "commit": "c186d3e5bc5f962fd026daf087fec8364101db57" }, @@ -148,7 +148,7 @@ "vim-be-good": { "branch": "master", "commit": "c290810728a4f75e334b07dc0f3a4cdea908d351" }, "vim-dadbod": { "branch": "master", "commit": "738cfc2ea6a1510fe23cba9006fef9291be70f7b" }, "vim-dadbod-completion": { "branch": "master", "commit": "c920cb0ba3dff4b1b0ed373e1c0b3007dec696c2" }, - "vim-dadbod-ui": { "branch": "master", "commit": "95fd22469507e86b78aa55d868c14108adee2881" }, + "vim-dadbod-ui": { "branch": "master", "commit": "9ddb0623e69d696b7a8355b93e3950a8dc6e00a0" }, "vim-floaterm": { "branch": "master", "commit": "3f01a623376957437f9376327637491b74719e38" }, "vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" }, "vim-rooter": { "branch": "master", "commit": "1353fa47ee3a81083c284e28ff4f7d92655d7c9e" }, diff --git a/.config/nvim/lazyvim.json b/.config/nvim/lazyvim.json index 86eb5307..69f91199 100644 --- a/.config/nvim/lazyvim.json +++ b/.config/nvim/lazyvim.json @@ -18,6 +18,7 @@ "lazyvim.plugins.extras.linting.eslint", "lazyvim.plugins.extras.test.core", "lazyvim.plugins.extras.ui.alpha", + "lazyvim.plugins.extras.ui.edgy", "lazyvim.plugins.extras.util.dot", "lazyvim.plugins.extras.vscode", "plugins.extras.coding.ai.codeium", @@ -36,6 +37,7 @@ "plugins.extras.coding.treesitter.puppeteer", "plugins.extras.coding.treesitter.treesj", "plugins.extras.dap.persistent-breakpoints", + "plugins.extras.dap.telescope", "plugins.extras.editor.color", "plugins.extras.editor.docs.devdocs", "plugins.extras.editor.git.diffview", @@ -54,7 +56,6 @@ "plugins.extras.editor.suda", "plugins.extras.editor.tabscope", "plugins.extras.editor.telescope.all-recent", - "plugins.extras.editor.telescope.dap", "plugins.extras.editor.telescope.import", "plugins.extras.editor.telescope.lazy", "plugins.extras.editor.telescope.luasnip", @@ -62,6 +63,7 @@ "plugins.extras.editor.telescope.undotree", "plugins.extras.editor.telescope.urlview", "plugins.extras.editor.telescope.zoxide", + "plugins.extras.editor.terminal.floaterm", "plugins.extras.editor.winshift", "plugins.extras.formatting.isort", "plugins.extras.formatting.rustfmt", @@ -71,7 +73,6 @@ "plugins.extras.lang.bash", "plugins.extras.lang.git", "plugins.extras.lang.markdown-extended", - "plugins.extras.lang.python-extended", "plugins.extras.lang.sql", "plugins.extras.lang.web.css", "plugins.extras.lang.web.html", @@ -86,7 +87,6 @@ "plugins.extras.ui.alpha", "plugins.extras.ui.block", "plugins.extras.ui.breadcrumbs", - "plugins.extras.ui.edgy", "plugins.extras.ui.highlight-undo", "plugins.extras.ui.import-cost", "plugins.extras.ui.number-toggle", diff --git a/.config/nvim/lua/plugins/extras/editor/terminal/toggleterm.lua b/.config/nvim/lua/plugins/extras/editor/terminal/toggleterm.lua new file mode 100644 index 00000000..6453d6ed --- /dev/null +++ b/.config/nvim/lua/plugins/extras/editor/terminal/toggleterm.lua @@ -0,0 +1,41 @@ +return { + "akinsho/toggleterm.nvim", + cmd = "ToggleTerm", + opts = { + size = function(term) + if term.direction == "horizontal" then + return 15 + elseif term.direction == "vertical" then + return vim.o.columns * 0.4 + end + end, + open_mapping = [[]], + hide_numbers = true, -- hide the number column in toggleterm buffers + shade_filetypes = {}, + shade_terminals = true, -- NOTE: this option takes priority over highlights specified so if you specify Normal highlights you should set this to false + shading_factor = "-10", -- the percentage by which to lighten terminal background, default: -30 (gets multiplied by -3 if background is light) + start_in_insert = true, + insert_mappings = true, -- whether or not the open mapping applies in insert mode + terminal_mappings = true, -- whether or not the open mapping applies in the opened terminals + persist_size = true, + persist_mode = true, -- if set to true (default) the previous terminal mode will be remembered + direction = "float", + close_on_exit = true, -- close the terminal window when the process exits + -- Change the default shell. Can be a string or a function returning a string + shell = vim.o.shell, + -- This field is only relevant if direction is set to 'float' + float_opts = { + -- The border key is *almost* the same as 'nvim_open_win' + -- see :h nvim_open_win for details on borders however + -- the 'curved' border is a custom border type + -- not natively supported but implemented in this plugin. + border = "curved", + -- like `size`, width and height can be a number or function which is passed the current terminal + highlights = { border = "Normal", background = "Normal" }, + winblend = 3, + }, + }, + keys = { + { [[]], "ToggleTerm", mode = "n", desc = "Toggle Terminal" }, + }, +}