plugin cleanup
This commit is contained in:
@@ -68,18 +68,18 @@ return {
|
||||
},
|
||||
|
||||
-- │ Easy comments │
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
keys = {
|
||||
{ "gcc", mode = "n", desc = "Comment toggle current line" },
|
||||
{ "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
|
||||
{ "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
|
||||
{ "gbc", mode = "n", desc = "Comment toggle current block" },
|
||||
{ "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
|
||||
{ "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("Comment").setup(opts)
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- "numToStr/Comment.nvim",
|
||||
-- keys = {
|
||||
-- { "gcc", mode = "n", desc = "Comment toggle current line" },
|
||||
-- { "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
|
||||
-- { "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
|
||||
-- { "gbc", mode = "n", desc = "Comment toggle current block" },
|
||||
-- { "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
|
||||
-- { "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
|
||||
-- },
|
||||
-- config = function(_, opts)
|
||||
-- require("Comment").setup(opts)
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
||||
@@ -19,5 +19,4 @@ return {
|
||||
-- },
|
||||
-- },
|
||||
-- }
|
||||
{ 'ThePrimeagen/vim-be-good' }
|
||||
}
|
||||
|
||||
@@ -2,27 +2,27 @@ return {
|
||||
-- ╭────────────╮
|
||||
-- │ Navigation │
|
||||
-- ╰────────────╯
|
||||
{
|
||||
"folke/flash.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
keys = {
|
||||
{
|
||||
"s",
|
||||
mode = { "n", "x", "o" },
|
||||
function()
|
||||
require("flash").jump()
|
||||
end,
|
||||
desc = "Flash",
|
||||
},
|
||||
{
|
||||
"S",
|
||||
mode = { "n", "x", "o" },
|
||||
function()
|
||||
require("flash").treesitter()
|
||||
end,
|
||||
desc = "Flash Treesitter",
|
||||
},
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- "folke/flash.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- opts = {},
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "s",
|
||||
-- mode = { "n", "x", "o" },
|
||||
-- function()
|
||||
-- require("flash").jump()
|
||||
-- end,
|
||||
-- desc = "Flash",
|
||||
-- },
|
||||
-- {
|
||||
-- "S",
|
||||
-- mode = { "n", "x", "o" },
|
||||
-- function()
|
||||
-- require("flash").treesitter()
|
||||
-- end,
|
||||
-- desc = "Flash Treesitter",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
local options = {
|
||||
auto_session_enabled = true,
|
||||
auto_save_enabled = false,
|
||||
auto_restore_enabled = false,
|
||||
auto_session_use_git_branch = true,
|
||||
log_level = "error",
|
||||
auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
|
||||
session_lens = {
|
||||
-- If load_on_setup is false, make sure you use `:SessionSearch` to open the picker as it will initialize everything first
|
||||
load_on_setup = false,
|
||||
theme_conf = { border = true },
|
||||
previewer = false,
|
||||
mappings = {
|
||||
-- Mode can be a string or a table, e.g. {"i", "n"} for both insert and normal mode
|
||||
delete_session = { "i", "<C-D>" },
|
||||
alternate_session = { "i", "<C-S>" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return options
|
||||
@@ -76,7 +76,6 @@ local config = {
|
||||
},
|
||||
{
|
||||
name = "Shells",
|
||||
icon = " ",
|
||||
highlight = { undercurl = false, sp = "grey" },
|
||||
auto_close = false,
|
||||
matcher = function(buf)
|
||||
|
||||
@@ -23,7 +23,7 @@ local config = {
|
||||
},
|
||||
cmdline = {
|
||||
enabled = true,
|
||||
view = "cmdline_popup",
|
||||
view = "cmdline", -- cmdline, cmdline_popup
|
||||
opts = {},
|
||||
---@type table<string, CmdlineFormat>
|
||||
format = {
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
-- ╭──────────╮
|
||||
-- │ Sessions │
|
||||
-- ╰──────────╯
|
||||
return {
|
||||
{
|
||||
|
||||
"rmagatti/auto-session",
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
opts = function()
|
||||
return require("plugins.opts.autosession")
|
||||
end,
|
||||
lazy = false,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user