♻️ refactor(nvim): moved a lot of plugin modules to extras, only left the ones that override default lazy config
This commit is contained in:
parent
a23451ad20
commit
a6c2f2e4f6
36 changed files with 417 additions and 465 deletions
|
@ -10,7 +10,7 @@
|
|||
"bigfile.nvim": { "branch": "main", "commit": "9616b73670ffeb92679677554ded88854ae42cf8" },
|
||||
"block.nvim": { "branch": "main", "commit": "6fb969ab12579e58b9379aa51933cad4a466cf75" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "357cc8f8eeb64702e6fcf2995e3b9becee99a5d3" },
|
||||
"catppuccin": { "branch": "main", "commit": "dcef0a062de380885193fb0f919217d58b979753" },
|
||||
"catppuccin": { "branch": "main", "commit": "ea52fe8a0b1e4a820df0d0cf9a6a5a0e18c3eaa0" },
|
||||
"ccc.nvim": { "branch": "main", "commit": "cd2a10557b4a13e80929f59a7076ae792b2c60fa" },
|
||||
"cinnamon.nvim": { "branch": "master", "commit": "c406ffda3a0302f32c23b24ab756ea20467d6578" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
|
@ -20,7 +20,7 @@
|
|||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"codeium.vim": { "branch": "main", "commit": "7b2f57ba35bbff7dabd5e3eaa6e60d0490516c78" },
|
||||
"compiler.nvim": { "branch": "main", "commit": "6af2fc0720004b2ef28bad7f85f765715216f73a" },
|
||||
"conform.nvim": { "branch": "master", "commit": "7f5ff6d253ae3543f186787bccafdc411d3f4b0a" },
|
||||
"conform.nvim": { "branch": "master", "commit": "e4ecb6e8ed3163c86d7e647f1dc3d94de77ca687" },
|
||||
"crates.nvim": { "branch": "main", "commit": "aac57ef84cf4fecf7907114b22e875f84a6128ee" },
|
||||
"dial.nvim": { "branch": "master", "commit": "019bbe9daea397c93a99adc747f8f071379fee5c" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "d38c1b5266850f77f75e006bcc26213684e1e141" },
|
||||
|
@ -38,7 +38,7 @@
|
|||
"highlight-undo.nvim": { "branch": "main", "commit": "50a6884a8476be04ecce8f1c4ed692c5000ef0a1" },
|
||||
"hydra.nvim": { "branch": "master", "commit": "ceb1fb7e3b4916676674e8a4253deea5a19ab01f" },
|
||||
"import-cost.nvim": { "branch": "main", "commit": "39ef36f438574db0b26e9c957316eb1cb22e970f" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "2546441840172cc41e70f67c52e205cc7aa3e6ed" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "046e2cf04e08ece927bacbfb87c5b35c0b636546" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "4c75c8eeb957a99aa44ce8e526c04340ab358c5e" },
|
||||
"live-server.nvim": { "branch": "main", "commit": "f6f00a3f541251f0320910bb0d03c4ae14ee6d10" },
|
||||
"lsp-lens.nvim": { "branch": "main", "commit": "739c9cf3a8c72c913427ae953c01ebb7b1cc1c00" },
|
||||
|
@ -68,7 +68,7 @@
|
|||
"neotest-rust": { "branch": "main", "commit": "03e036a310379f132d4e39387e9076396132ce3f" },
|
||||
"neotest-vitest": { "branch": "main", "commit": "41bf2f6b743f2ac5c5e9bd0949cee77ca7f2372c" },
|
||||
"nerdy.nvim": { "branch": "main", "commit": "061b0c8b5d56dcc9d3aba90be94593070f299878" },
|
||||
"noice.nvim": { "branch": "main", "commit": "8f1b53ab85f83e0687d0f267085ad781ec240432" },
|
||||
"noice.nvim": { "branch": "main", "commit": "50fc77bcd75cf32374521fb227e9f41f3fe1521a" },
|
||||
"nui.nvim": { "branch": "main", "commit": "c0c8e347ceac53030f5c1ece1c5a5b6a17a25b32" },
|
||||
"numb.nvim": { "branch": "master", "commit": "3f7d4a74bd456e747a1278ea1672b26116e0824d" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "d3a3056204e1a9dbb7c7fe36c114dc43b681768c" },
|
||||
|
@ -82,20 +82,20 @@
|
|||
"nvim-jdtls": { "branch": "master", "commit": "a09f8cdd75c546eb024d0f0b5b3ad185f05b738f" },
|
||||
"nvim-jqx": { "branch": "master", "commit": "11b1d0368e5b23b9c356da8e5f70bb5827f27f62" },
|
||||
"nvim-lightbulb": { "branch": "master", "commit": "8f00b89dd1b1dbde16872bee5fbcee2e58c9b8e9" },
|
||||
"nvim-lint": { "branch": "master", "commit": "a4b0511a9e757e78c8c9f9d3f201e0d8ff158b42" },
|
||||
"nvim-lint": { "branch": "master", "commit": "158232735a7f7d9c5de2aadb8bde4d5d67724f13" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "6428fcab6f3c09e934bc016c329806314384a41e" },
|
||||
"nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" },
|
||||
"nvim-numbertoggle": { "branch": "main", "commit": "9ab95e60ea5ec138e1b2332e0fc18b8e5de464c6" },
|
||||
"nvim-puppeteer": { "branch": "main", "commit": "b2793ab39120086fa59327d3901a847961198662" },
|
||||
"nvim-regexplainer": { "branch": "main", "commit": "187f8666c2ba0fcba4ddb991e48d7229b0a58d96" },
|
||||
"nvim-spectre": { "branch": "master", "commit": "696cff781a4a7ecc91549736835e2acbd00fe859" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "84544f5cd3b7c046ebe0db6763c9ce7f20f4fe23" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "4199be485cd85662d8ff1dc8c4cc78d819fad6cd" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "8aa32aa6b84dda357849dbc0f775e69f2e04c041" },
|
||||
"nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "eb208bfdfcf76efea0424747e23e44641e13aaa6" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "f0267921c845c42685968401bc49aa65e18d3e09" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" },
|
||||
"octo.nvim": { "branch": "master", "commit": "e933611c74cb735c00d0db8ca94533bec1444bf0" },
|
||||
"omnisharp-extended-lsp.nvim": { "branch": "main", "commit": "53edfb413a54c9e55dcddc9e9fa4977a897e4425" },
|
||||
"one-small-step-for-vimkind": { "branch": "main", "commit": "edbb34ee779049f2071dc7becff0bbf51c865906" },
|
||||
|
@ -115,6 +115,7 @@
|
|||
"satellite.nvim": { "branch": "main", "commit": "7911fa8137c77258ba509ba875ea52c6d59737e8" },
|
||||
"semshi": { "branch": "master", "commit": "50f9d74ee160e539c5662cbde5c3b0ccd4e27fb3" },
|
||||
"smart-splits.nvim": { "branch": "master", "commit": "c8a9173d70cbbd1f6e4a414e49e31df2b32a1362" },
|
||||
"sniprun": { "branch": "master", "commit": "0ad935699a5e24ca3a0aa621c7425ac7029775b3" },
|
||||
"sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" },
|
||||
"suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" },
|
||||
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
|
||||
|
|
|
@ -23,29 +23,33 @@
|
|||
"lazyvim.plugins.extras.util.dot",
|
||||
"lazyvim.plugins.extras.util.project",
|
||||
"lazyvim.plugins.extras.vscode",
|
||||
"plugins.extras.ai",
|
||||
"plugins.extras.alpha",
|
||||
"plugins.extras.annotation",
|
||||
"plugins.extras.breadcrumbs",
|
||||
"plugins.extras.cmp",
|
||||
"plugins.extras.codeium",
|
||||
"plugins.extras.color",
|
||||
"plugins.extras.compiler",
|
||||
"plugins.extras.db",
|
||||
"plugins.extras.debug",
|
||||
"plugins.extras.discordrcp",
|
||||
"plugins.extras.documentation",
|
||||
"plugins.extras.git",
|
||||
"plugins.extras.github",
|
||||
"plugins.extras.gpt",
|
||||
"plugins.extras.harpoon",
|
||||
"plugins.extras.lsp",
|
||||
"plugins.extras.markdown",
|
||||
"plugins.extras.multicursor",
|
||||
"plugins.extras.rainbow-delimeters",
|
||||
"plugins.extras.refactor",
|
||||
"plugins.extras.repl",
|
||||
"plugins.extras.rest-client",
|
||||
"plugins.extras.scrollbar",
|
||||
"plugins.extras.semshi",
|
||||
"plugins.extras.smooth-scrolling",
|
||||
"plugins.extras.test-extended",
|
||||
"plugins.extras.ui-extended",
|
||||
"plugins.extras.util",
|
||||
"plugins.extras.web",
|
||||
"plugins.extras.zen-mode"
|
||||
],
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"utilyre/barbecue.nvim",
|
||||
name = "barbecue",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"SmiteshP/nvim-navic",
|
||||
"nvim-tree/nvim-web-devicons", -- optional dependency
|
||||
},
|
||||
event = "BufRead",
|
||||
enabled = false,
|
||||
opts = {
|
||||
theme = "catppuccin-macchiato",
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"max397574/better-escape.nvim",
|
||||
enabled = false,
|
||||
config = function()
|
||||
require("better_escape").setup({
|
||||
mapping = { "jk", "jj", "kj", "jl" }, -- a table with mappings to use
|
||||
timeout = vim.o.timeoutlen, -- the time in which the keys must be hit in ms. Use option timeoutlen by default
|
||||
clear_empty_lines = false, -- clear line after escaping if there is only whitespace
|
||||
keys = "<Esc>", -- keys used for escaping, if it is a function will use the result everytime
|
||||
-- example(recommended)
|
||||
-- keys = function()
|
||||
-- return vim.api.nvim_win_get_cursor(0)[2] > 1 and '<esc>l' or '<esc>'
|
||||
-- end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
return {
|
||||
"LunarVim/bigfile.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
filesize = 1, -- size of the file in MiB, the plugin round file sizes to the closest MiB
|
||||
pattern = { "*" }, -- autocmd pattern or function see <### Overriding the detection of big files>
|
||||
features = { -- features to disable
|
||||
"indent_blankline",
|
||||
"illuminate",
|
||||
"lsp",
|
||||
"treesitter",
|
||||
"syntax",
|
||||
"vimopts",
|
||||
"matchparen",
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"HampusHauffman/block.nvim",
|
||||
keys = { { "<leader>uB", "<cmd>Block<CR>", desc = "Toggle Block" } },
|
||||
opts = {
|
||||
percent = 0.9,
|
||||
depth = 4,
|
||||
colors = nil,
|
||||
automatic = false,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
return {
|
||||
"zbirenbaum/copilot.lua",
|
||||
enabled = false,
|
||||
opts = {
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
auto_trigger = true,
|
||||
keymap = {
|
||||
accept = "<M-CR>",
|
||||
accept_line = "<M-l>",
|
||||
accept_word = "<M-k>",
|
||||
next = "<M-]>",
|
||||
prev = "<M-[>",
|
||||
dismiss = "<M-c>",
|
||||
},
|
||||
},
|
||||
panel = { enabled = false },
|
||||
filetypes = {
|
||||
markdown = true,
|
||||
help = true,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"monaqa/dial.nvim",
|
||||
event = "VeryLazy",
|
||||
-- splutylua: ignore
|
||||
keys = {
|
||||
{
|
||||
"<C-a>",
|
||||
function()
|
||||
return require("dial.map").inc_normal()
|
||||
end,
|
||||
expr = true,
|
||||
desc = "Increment",
|
||||
},
|
||||
{
|
||||
"<C-x>",
|
||||
function()
|
||||
return require("dial.map").dec_normal()
|
||||
end,
|
||||
expr = true,
|
||||
desc = "Decrement",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
local augend = require("dial.augend")
|
||||
require("dial.config").augends:register_group({
|
||||
default = {
|
||||
augend.integer.alias.decimal,
|
||||
augend.integer.alias.hex,
|
||||
augend.date.alias["%Y/%m/%d"],
|
||||
augend.constant.alias.bool,
|
||||
augend.constant.new({ elements = { "let", "const" } }),
|
||||
augend.semver.alias.semver,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -1,4 +1,35 @@
|
|||
return {
|
||||
{
|
||||
"Exafunction/codeium.vim",
|
||||
event = "BufEnter",
|
||||
config = function()
|
||||
vim.g.codeium_disable_bindings = 1
|
||||
|
||||
vim.keymap.set("i", "<M-CR>", function()
|
||||
return vim.fn["codeium#Accept"]()
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("i", "<M-]>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](1)
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("i", "<M-[>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](-1)
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("i", "<M-c>", function()
|
||||
return vim.fn["codeium#Clear"]()
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("n", "<leader>cI", function()
|
||||
if vim.g.codeium_enabled == true then
|
||||
vim.cmd("CodeiumDisable")
|
||||
else
|
||||
vim.cmd("CodeiumEnable")
|
||||
end
|
||||
end, { noremap = true, desc = "Toggle Codeium" })
|
||||
end,
|
||||
},
|
||||
{
|
||||
"jackMort/ChatGPT.nvim",
|
||||
opts = {
|
||||
|
@ -99,4 +130,27 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
enabled = false,
|
||||
opts = {
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
auto_trigger = true,
|
||||
keymap = {
|
||||
accept = "<M-CR>",
|
||||
accept_line = "<M-l>",
|
||||
accept_word = "<M-k>",
|
||||
next = "<M-]>",
|
||||
prev = "<M-[>",
|
||||
dismiss = "<M-c>",
|
||||
},
|
||||
},
|
||||
panel = { enabled = false },
|
||||
filetypes = {
|
||||
markdown = true,
|
||||
help = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -10,4 +10,18 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"utilyre/barbecue.nvim",
|
||||
name = "barbecue",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"SmiteshP/nvim-navic",
|
||||
"nvim-tree/nvim-web-devicons", -- optional dependency
|
||||
},
|
||||
event = "BufRead",
|
||||
enabled = false,
|
||||
opts = {
|
||||
theme = "catppuccin-macchiato",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"Exafunction/codeium.vim",
|
||||
event = "BufEnter",
|
||||
config = function()
|
||||
vim.g.codeium_disable_bindings = 1
|
||||
|
||||
vim.keymap.set("i", "<M-CR>", function()
|
||||
return vim.fn["codeium#Accept"]()
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("i", "<M-]>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](1)
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("i", "<M-[>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](-1)
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("i", "<M-c>", function()
|
||||
return vim.fn["codeium#Clear"]()
|
||||
end, { expr = true })
|
||||
|
||||
vim.keymap.set("n", "<leader>cI", function()
|
||||
if vim.g.codeium_enabled == true then
|
||||
vim.cmd("CodeiumDisable")
|
||||
else
|
||||
vim.cmd("CodeiumEnable")
|
||||
end
|
||||
end, { noremap = true, desc = "Toggle Codeium" })
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -1,4 +1,13 @@
|
|||
return {
|
||||
{
|
||||
"lukas-reineke/headlines.nvim",
|
||||
opts = {
|
||||
markdown = {
|
||||
headline_highlights = false,
|
||||
},
|
||||
},
|
||||
ft = { "markdown", "norg", "rmd", "org" },
|
||||
},
|
||||
{
|
||||
"gaoDean/autolist.nvim",
|
||||
ft = {
|
78
.config/nvim/lua/plugins/extras/repl.lua
Normal file
78
.config/nvim/lua/plugins/extras/repl.lua
Normal file
|
@ -0,0 +1,78 @@
|
|||
return {
|
||||
{
|
||||
"michaelb/sniprun",
|
||||
run = "bash ./install.sh",
|
||||
cmd = { "SnipRun", "SnipInfo", "SnipLive", "SnipClose", "SnipReset", "SnipReplMemoryClean" },
|
||||
opts = {
|
||||
|
||||
selected_interpreters = {}, --# use those instead of the default for the current filetype
|
||||
repl_enable = { "javascript", "typescript" }, --# enable REPL-like behavior for the given interpreters
|
||||
repl_disable = {}, --# disable REPL-like behavior for the given interpreters
|
||||
|
||||
interpreter_options = {
|
||||
--# interpreter-specific options, see docs / :SnipInfo <name>
|
||||
|
||||
--# use the interpreter name as key
|
||||
GFM_original = {
|
||||
use_on_filetypes = { "markdown.pandoc" }, --# the 'use_on_filetypes' configuration key is
|
||||
--# available for every interpreter
|
||||
},
|
||||
Python3_original = {
|
||||
error_truncate = "auto", --# Truncate runtime errors 'long', 'short' or 'auto'
|
||||
--# the hint is available for every interpreter
|
||||
--# but may not be always respected
|
||||
},
|
||||
},
|
||||
|
||||
--# you can combo different display modes as desired and with the 'Ok' or 'Err' suffix
|
||||
--# to filter only sucessful runs (or errored-out runs respectively)
|
||||
display = {
|
||||
-- "Classic", --# display results in the command-line area
|
||||
-- "VirtualTextOk", --# display ok results as virtual text (multiline is shortened)
|
||||
|
||||
"VirtualText", --# display results as virtual text
|
||||
-- "TempFloatingWindow", --# display results in a floating window
|
||||
-- "LongTempFloatingWindow", --# same as above, but only long results. To use with VirtualText[Ok/Err]
|
||||
-- "Terminal", --# display results in a vertical split
|
||||
-- "TerminalWithCode", --# display results and code history in a vertical split
|
||||
-- "NvimNotify", --# display with the nvim-notify plugin
|
||||
-- "Api" --# return output to a programming interface
|
||||
},
|
||||
|
||||
live_display = { "VirtualTextOk" }, --# display mode used in live_mode
|
||||
|
||||
display_options = {
|
||||
terminal_scrollback = vim.o.scrollback, --# change terminal display scrollback lines
|
||||
terminal_line_number = false, --# whether show line number in terminal window
|
||||
terminal_signcolumn = false, --# whether show signcolumn in terminal window
|
||||
terminal_persistence = true, --# always keep the terminal open (true) or close it at every occasion (false)
|
||||
terminal_width = 45, --# change the terminal display option width
|
||||
notification_timeout = 5, --# timeout for nvim_notify output
|
||||
},
|
||||
|
||||
--# You can use the same keys to customize whether a sniprun producing
|
||||
--# no output should display nothing or '(no output)'
|
||||
show_no_output = {
|
||||
"Classic",
|
||||
"TempFloatingWindow", --# implies LongTempFloatingWindow, which has no effect on its own
|
||||
},
|
||||
|
||||
--# customize highlight groups (setting this overrides colorscheme)
|
||||
-- snipruncolors = {
|
||||
-- SniprunVirtualTextOk = { bg = "#66eeff", fg = "#000000", ctermbg = "Cyan", cterfg = "Black" },
|
||||
-- SniprunFloatingWinOk = { fg = "#66eeff", ctermfg = "Cyan" },
|
||||
-- SniprunVirtualTextErr = { bg = "#881515", fg = "#000000", ctermbg = "DarkRed", cterfg = "Black" },
|
||||
-- SniprunFloatingWinErr = { fg = "#881515", ctermfg = "DarkRed" },
|
||||
-- },
|
||||
|
||||
live_mode_toggle = "off", --# live mode toggle, see Usage - Running for more info
|
||||
|
||||
--# miscellaneous compatibility/adjustement settings
|
||||
inline_messages = false, --# inline_message (0/1) is a one-line way to display messages
|
||||
--# to workaround sniprun not being able to display anything
|
||||
|
||||
borders = "single", --# display borders around floating windows
|
||||
--# possible values are 'none', 'single', 'double', or 'shadow'
|
||||
},
|
||||
},
|
||||
}
|
49
.config/nvim/lua/plugins/extras/ui-extended.lua
Normal file
49
.config/nvim/lua/plugins/extras/ui-extended.lua
Normal file
|
@ -0,0 +1,49 @@
|
|||
return {
|
||||
{
|
||||
"HampusHauffman/block.nvim",
|
||||
keys = { { "<leader>uB", "<cmd>Block<CR>", desc = "Toggle Block" } },
|
||||
opts = {
|
||||
percent = 0.9,
|
||||
depth = 4,
|
||||
colors = nil,
|
||||
automatic = false,
|
||||
},
|
||||
},
|
||||
{
|
||||
"tzachar/highlight-undo.nvim",
|
||||
event = "BufReadPost",
|
||||
opts = {
|
||||
duration = 700,
|
||||
},
|
||||
},
|
||||
{
|
||||
"mvllow/modes.nvim",
|
||||
tag = "v0.2.0",
|
||||
enabled = false,
|
||||
event = "BufReadPost",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"nacro90/numb.nvim",
|
||||
event = "CmdlineEnter",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"sitiom/nvim-numbertoggle",
|
||||
event = "BufReadPost",
|
||||
},
|
||||
{
|
||||
"anuvyklack/windows.nvim",
|
||||
event = "WinNew",
|
||||
dependencies = {
|
||||
{ "anuvyklack/middleclass" },
|
||||
{ "anuvyklack/animation.nvim" },
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>wv", "<cmd>WindowsMaximizeVertically<cr>", desc = "Vertical Zoom" },
|
||||
{ "<leader>wh", "<cmd>WindowsMaximizeHorizontally<cr>", desc = "Horizontal Zoom" },
|
||||
{ "<leader>we", "<cmd>WindowsEqualize<cr>", desc = "Equalize Zoom" },
|
||||
},
|
||||
opts = {},
|
||||
},
|
||||
}
|
198
.config/nvim/lua/plugins/extras/util.lua
Normal file
198
.config/nvim/lua/plugins/extras/util.lua
Normal file
|
@ -0,0 +1,198 @@
|
|||
return {
|
||||
{
|
||||
"LunarVim/bigfile.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
filesize = 1, -- size of the file in MiB, the plugin round file sizes to the closest MiB
|
||||
pattern = { "*" }, -- autocmd pattern or function see <### Overriding the detection of big files>
|
||||
features = { -- features to disable
|
||||
"indent_blankline",
|
||||
"illuminate",
|
||||
"lsp",
|
||||
"treesitter",
|
||||
"syntax",
|
||||
"vimopts",
|
||||
"matchparen",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"max397574/better-escape.nvim",
|
||||
enabled = false,
|
||||
config = function()
|
||||
require("better_escape").setup({
|
||||
mapping = { "jk", "jj", "kj", "jl" }, -- a table with mappings to use
|
||||
timeout = vim.o.timeoutlen, -- the time in which the keys must be hit in ms. Use option timeoutlen by default
|
||||
clear_empty_lines = false, -- clear line after escaping if there is only whitespace
|
||||
keys = "<Esc>", -- keys used for escaping, if it is a function will use the result everytime
|
||||
-- example(recommended)
|
||||
-- keys = function()
|
||||
-- return vim.api.nvim_win_get_cursor(0)[2] > 1 and '<esc>l' or '<esc>'
|
||||
-- end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"monaqa/dial.nvim",
|
||||
event = "VeryLazy",
|
||||
-- splutylua: ignore
|
||||
keys = {
|
||||
{
|
||||
"<C-a>",
|
||||
function()
|
||||
return require("dial.map").inc_normal()
|
||||
end,
|
||||
expr = true,
|
||||
desc = "Increment",
|
||||
},
|
||||
{
|
||||
"<C-x>",
|
||||
function()
|
||||
return require("dial.map").dec_normal()
|
||||
end,
|
||||
expr = true,
|
||||
desc = "Decrement",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
local augend = require("dial.augend")
|
||||
require("dial.config").augends:register_group({
|
||||
default = {
|
||||
augend.integer.alias.decimal,
|
||||
augend.integer.alias.hex,
|
||||
augend.date.alias["%Y/%m/%d"],
|
||||
augend.constant.alias.bool,
|
||||
augend.constant.new({ elements = { "let", "const" } }),
|
||||
augend.semver.alias.semver,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
enabled = false,
|
||||
event = "VeryLazy",
|
||||
keys = {
|
||||
{ "<leader>uH", "<cmd>Hardtime toggle<CR>", desc = "Toggle Hardtime" },
|
||||
},
|
||||
opts = {
|
||||
disabled_filetypes = {
|
||||
"qf",
|
||||
"netrw",
|
||||
"NvimTree",
|
||||
"lazy",
|
||||
"mason",
|
||||
"oil",
|
||||
"neo-tree",
|
||||
"symbols-outline",
|
||||
"vim-be-good",
|
||||
},
|
||||
restriction_mode = "hint",
|
||||
restricted_keys = {
|
||||
["h"] = { "n", "x" },
|
||||
["l"] = { "n", "x" },
|
||||
["-"] = { "n", "x" },
|
||||
["+"] = { "n", "x" },
|
||||
["gj"] = { "n", "x" },
|
||||
["gk"] = { "n", "x" },
|
||||
["<C-N>"] = { "n", "x" },
|
||||
["<C-P>"] = { "n", "x" },
|
||||
},
|
||||
disabled_keys = {
|
||||
["<Up>"] = { "" },
|
||||
["<Down>"] = { "" },
|
||||
["<Left>"] = { "" },
|
||||
["<Right>"] = { "" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"mrjones2014/smart-splits.nvim",
|
||||
build = "./kitty/install-kittens.bash",
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" },
|
||||
{ "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" },
|
||||
{ "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" },
|
||||
{ "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" },
|
||||
{ "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" },
|
||||
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" },
|
||||
{ "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" },
|
||||
{ "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" },
|
||||
{ "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left", mode = "n" },
|
||||
{ "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down", mode = "n" },
|
||||
{ "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" },
|
||||
{ "<C-A-l>", function() require("smart-splits").swap_buf_right() end, desc = "Swap buffer right", mode = "n" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"lambdalisue/suda.vim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>W",
|
||||
":SudaWrite<CR>",
|
||||
desc = "Suda Write",
|
||||
},
|
||||
},
|
||||
cmd = {
|
||||
"SudaRead",
|
||||
"SudaWrite",
|
||||
},
|
||||
},
|
||||
{
|
||||
"chrisgrieser/nvim-spider",
|
||||
lazy = true,
|
||||
enabled = false,
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "w", "<cmd>lua require('spider').motion('w')<CR>", mode = { "n", "o", "x" }, desc = "Spider-w" },
|
||||
{ "e", "<cmd>lua require('spider').motion('e')<CR>", mode = { "n", "o", "x" }, desc = "Spider-e" },
|
||||
{ "b", "<cmd>lua require('spider').motion('b')<CR>", mode = { "n", "o", "x" }, desc = "Spider-b" },
|
||||
{ "ge", "<cmd>lua require('spider').motion('ge')<CR>", mode = { "n", "o", "x" }, desc = "Spider-ge" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"TobinPalmer/rayso.nvim",
|
||||
cmd = { "Rayso" },
|
||||
keys = {
|
||||
{ "<leader>cS", "<cmd>Rayso<cr>", mode = { "n" }, desc = "Screenshot Code" },
|
||||
{ "<leader>cS", "<cmd>'<,'>Rayso<cr>", mode = { "v" }, desc = "Screenshot Selection" },
|
||||
},
|
||||
opts = {
|
||||
open_cmd = "librewolf",
|
||||
},
|
||||
},
|
||||
{
|
||||
"bennypowers/nvim-regexplainer",
|
||||
opts = {},
|
||||
event = "BufReadPost",
|
||||
requires = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
},
|
||||
{
|
||||
"Wansmer/treesj",
|
||||
keys = {
|
||||
{ "J", "<cmd>TSJToggle<cr>", desc = "Join Toggle" },
|
||||
},
|
||||
opts = { use_default_keymaps = false, max_join_length = 150 },
|
||||
},
|
||||
{ "wakatime/vim-wakatime", lazy = false },
|
||||
{
|
||||
"mbbill/undotree",
|
||||
event = "BufReadPost",
|
||||
},
|
||||
{
|
||||
"echasnovski/mini.align",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "ga", mode = { "n", "v" }, desc = "Align" },
|
||||
{ "gA", mode = { "n", "v" }, desc = "Align Preview" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"ThePrimeagen/vim-be-good",
|
||||
cmd = "VimBeGood",
|
||||
},
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"willothy/flatten.nvim",
|
||||
config = true,
|
||||
-- Ensure that it runs first to minimize delay when opening file from terminal
|
||||
lazy = false,
|
||||
priority = 1001,
|
||||
enabled = false,
|
||||
},
|
||||
}
|
|
@ -28,8 +28,6 @@ return {
|
|||
{ "<A-h>", "<Esc><Esc><cmd>FloatermFirst<CR>", mode = { "t" }, desc = "First Terminal" },
|
||||
{ "<leader>st", "<cmd>Telescope floaterm<cr>", desc = "Terminals" },
|
||||
{ [[<c-\>]], "<cmd>FloatermToggle<cr>", mode = { "n", "t" }, desc = "Toggle Terminal" },
|
||||
{ "<leader>ft", false },
|
||||
{ "<leader>fT", false },
|
||||
{ "<leader>ftf", "<cmd>FloatermNew --name=floatroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root><cr>", desc = "Floating (root dir)" },
|
||||
{ "<leader>ftF", "<cmd>FloatermNew --name=floatbuffer --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<buffer><cr>", desc = "Floating (cwd)" },
|
||||
{ "<leader>fts", "<cmd>FloatermNew --name=splitroot --opener=edit --titleposition=center --height=0.35 --wintype=split --cwd=<root><cr>", desc = "Split (root dir)" },
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
enabled = false,
|
||||
event = "VeryLazy",
|
||||
keys = {
|
||||
{ "<leader>uH", "<cmd>Hardtime toggle<CR>", desc = "Toggle Hardtime" },
|
||||
},
|
||||
opts = {
|
||||
disabled_filetypes = {
|
||||
"qf",
|
||||
"netrw",
|
||||
"NvimTree",
|
||||
"lazy",
|
||||
"mason",
|
||||
"oil",
|
||||
"neo-tree",
|
||||
"symbols-outline",
|
||||
"vim-be-good",
|
||||
},
|
||||
restriction_mode = "hint",
|
||||
restricted_keys = {
|
||||
["h"] = { "n", "x" },
|
||||
["l"] = { "n", "x" },
|
||||
["-"] = { "n", "x" },
|
||||
["+"] = { "n", "x" },
|
||||
["gj"] = { "n", "x" },
|
||||
["gk"] = { "n", "x" },
|
||||
["<C-N>"] = { "n", "x" },
|
||||
["<C-P>"] = { "n", "x" },
|
||||
},
|
||||
disabled_keys = {
|
||||
["<Up>"] = { "" },
|
||||
["<Down>"] = { "" },
|
||||
["<Left>"] = { "" },
|
||||
["<Right>"] = { "" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"lukas-reineke/headlines.nvim",
|
||||
opts = {
|
||||
markdown = {
|
||||
headline_highlights = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"tzachar/highlight-undo.nvim",
|
||||
event = "BufReadPost",
|
||||
opts = {
|
||||
duration = 700,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"echasnovski/mini.align",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "ga", mode = { "n", "v" }, desc = "Align" },
|
||||
{ "gA", mode = { "n", "v" }, desc = "Align Preview" },
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"mvllow/modes.nvim",
|
||||
tag = "v0.2.0",
|
||||
enabled = false,
|
||||
event = "BufReadPost",
|
||||
opts = {},
|
||||
},
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"nacro90/numb.nvim",
|
||||
event = "CmdlineEnter",
|
||||
opts = {},
|
||||
},
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"TobinPalmer/rayso.nvim",
|
||||
cmd = { "Rayso" },
|
||||
keys = {
|
||||
{ "<leader>cS", "<cmd>Rayso<cr>", mode = { "n" }, desc = "Screenshot Code" },
|
||||
{ "<leader>cS", "<cmd>'<,'>Rayso<cr>", mode = { "v" }, desc = "Screenshot Selection" },
|
||||
},
|
||||
opts = {
|
||||
open_cmd = "librewolf",
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"bennypowers/nvim-regexplainer",
|
||||
opts = {},
|
||||
event = "BufReadPost",
|
||||
requires = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"sitiom/nvim-numbertoggle",
|
||||
event = "BufReadPost",
|
||||
},
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"mrjones2014/smart-splits.nvim",
|
||||
build = "./kitty/install-kittens.bash",
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" },
|
||||
{ "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" },
|
||||
{ "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" },
|
||||
{ "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" },
|
||||
{ "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" },
|
||||
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" },
|
||||
{ "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" },
|
||||
{ "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" },
|
||||
{ "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left", mode = "n" },
|
||||
{ "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down", mode = "n" },
|
||||
{ "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" },
|
||||
{ "<C-A-l>", function() require("smart-splits").swap_buf_right() end, desc = "Swap buffer right", mode = "n" },
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,80 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"michaelb/sniprun",
|
||||
run = "bash ./install.sh",
|
||||
enabled = false,
|
||||
-- cmd = { "SnipRun", "SnipInfo", "SnipLive", "SnipClose", "SnipReset", "SnipReplMemoryClean" },
|
||||
config = function()
|
||||
require("sniprun").setup({
|
||||
selected_interpreters = {}, --# use those instead of the default for the current filetype
|
||||
repl_enable = { "javascript", "typescript" }, --# enable REPL-like behavior for the given interpreters
|
||||
repl_disable = {}, --# disable REPL-like behavior for the given interpreters
|
||||
|
||||
interpreter_options = {
|
||||
--# interpreter-specific options, see docs / :SnipInfo <name>
|
||||
|
||||
--# use the interpreter name as key
|
||||
GFM_original = {
|
||||
use_on_filetypes = { "markdown.pandoc" }, --# the 'use_on_filetypes' configuration key is
|
||||
--# available for every interpreter
|
||||
},
|
||||
Python3_original = {
|
||||
error_truncate = "auto", --# Truncate runtime errors 'long', 'short' or 'auto'
|
||||
--# the hint is available for every interpreter
|
||||
--# but may not be always respected
|
||||
},
|
||||
},
|
||||
|
||||
--# you can combo different display modes as desired and with the 'Ok' or 'Err' suffix
|
||||
--# to filter only sucessful runs (or errored-out runs respectively)
|
||||
display = {
|
||||
-- "Classic", --# display results in the command-line area
|
||||
-- "VirtualTextOk", --# display ok results as virtual text (multiline is shortened)
|
||||
|
||||
"VirtualText", --# display results as virtual text
|
||||
-- "TempFloatingWindow", --# display results in a floating window
|
||||
-- "LongTempFloatingWindow", --# same as above, but only long results. To use with VirtualText[Ok/Err]
|
||||
-- "Terminal", --# display results in a vertical split
|
||||
-- "TerminalWithCode", --# display results and code history in a vertical split
|
||||
-- "NvimNotify", --# display with the nvim-notify plugin
|
||||
-- "Api" --# return output to a programming interface
|
||||
},
|
||||
|
||||
live_display = { "VirtualTextOk" }, --# display mode used in live_mode
|
||||
|
||||
display_options = {
|
||||
terminal_scrollback = vim.o.scrollback, --# change terminal display scrollback lines
|
||||
terminal_line_number = false, --# whether show line number in terminal window
|
||||
terminal_signcolumn = false, --# whether show signcolumn in terminal window
|
||||
terminal_persistence = true, --# always keep the terminal open (true) or close it at every occasion (false)
|
||||
terminal_width = 45, --# change the terminal display option width
|
||||
notification_timeout = 5, --# timeout for nvim_notify output
|
||||
},
|
||||
|
||||
--# You can use the same keys to customize whether a sniprun producing
|
||||
--# no output should display nothing or '(no output)'
|
||||
show_no_output = {
|
||||
"Classic",
|
||||
"TempFloatingWindow", --# implies LongTempFloatingWindow, which has no effect on its own
|
||||
},
|
||||
|
||||
--# customize highlight groups (setting this overrides colorscheme)
|
||||
snipruncolors = {
|
||||
SniprunVirtualTextOk = { bg = "#66eeff", fg = "#000000", ctermbg = "Cyan", cterfg = "Black" },
|
||||
SniprunFloatingWinOk = { fg = "#66eeff", ctermfg = "Cyan" },
|
||||
SniprunVirtualTextErr = { bg = "#881515", fg = "#000000", ctermbg = "DarkRed", cterfg = "Black" },
|
||||
SniprunFloatingWinErr = { fg = "#881515", ctermfg = "DarkRed" },
|
||||
},
|
||||
|
||||
live_mode_toggle = "off", --# live mode toggle, see Usage - Running for more info
|
||||
|
||||
--# miscellaneous compatibility/adjustement settings
|
||||
inline_messages = false, --# inline_message (0/1) is a one-line way to display messages
|
||||
--# to workaround sniprun not being able to display anything
|
||||
|
||||
borders = "single", --# display borders around floating windows
|
||||
--# possible values are 'none', 'single', 'double', or 'shadow'
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"chrisgrieser/nvim-spider",
|
||||
lazy = true,
|
||||
enabled = false,
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "w", "<cmd>lua require('spider').motion('w')<CR>", mode = { "n", "o", "x" }, desc = "Spider-w" },
|
||||
{ "e", "<cmd>lua require('spider').motion('e')<CR>", mode = { "n", "o", "x" }, desc = "Spider-e" },
|
||||
{ "b", "<cmd>lua require('spider').motion('b')<CR>", mode = { "n", "o", "x" }, desc = "Spider-b" },
|
||||
{ "ge", "<cmd>lua require('spider').motion('ge')<CR>", mode = { "n", "o", "x" }, desc = "Spider-ge" },
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"lambdalisue/suda.vim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>W",
|
||||
":SudaWrite<CR>",
|
||||
desc = "Suda Write",
|
||||
},
|
||||
},
|
||||
cmd = {
|
||||
"SudaRead",
|
||||
"SudaWrite",
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"Wansmer/treesj",
|
||||
keys = {
|
||||
{ "J", "<cmd>TSJToggle<cr>", desc = "Join Toggle" },
|
||||
},
|
||||
opts = { use_default_keymaps = false, max_join_length = 150 },
|
||||
},
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"mbbill/undotree",
|
||||
event = "BufReadPost",
|
||||
},
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"ThePrimeagen/vim-be-good",
|
||||
cmd = "VimBeGood",
|
||||
},
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
return {
|
||||
{ "wakatime/vim-wakatime", lazy = false },
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"anuvyklack/windows.nvim",
|
||||
event = "WinNew",
|
||||
dependencies = {
|
||||
{ "anuvyklack/middleclass" },
|
||||
{ "anuvyklack/animation.nvim" },
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>wv", "<cmd>WindowsMaximizeVertically<cr>", desc = "Vertical Zoom" },
|
||||
{ "<leader>wh", "<cmd>WindowsMaximizeHorizontally<cr>", desc = "Horizontal Zoom" },
|
||||
{ "<leader>we", "<cmd>WindowsEqualize<cr>", desc = "Equalize Zoom" },
|
||||
},
|
||||
opts = {},
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue