purge unused plugins
This commit is contained in:
parent
689b2185fa
commit
3903e87c47
|
@ -39,7 +39,7 @@ vim.opt.inccommand = "split"
|
|||
vim.opt.cursorline = true
|
||||
|
||||
-- Minimal number of screen lines to keep above and below the cursor.
|
||||
vim.opt.scrolloff = 10
|
||||
vim.opt.scrolloff = 20
|
||||
|
||||
vim.opt.foldmethod = "expr"
|
||||
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
return {
|
||||
"luckasRanarison/nvim-devdocs",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
init = function()
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>sm",
|
||||
"<cmd>vsplit<CR><cmd>DevdocsOpenCurrent<CR>",
|
||||
{ desc = "[S]earch the Friendly [M]anual" }
|
||||
)
|
||||
end,
|
||||
opts = {
|
||||
dir_path = vim.fn.stdpath("data") .. "/devdocs", -- installation directory
|
||||
telescope = {}, -- passed to the telescope picker
|
||||
filetypes = {
|
||||
-- extends the filetype to docs mappings used by the `DevdocsOpenCurrent` command, the version doesn't have to be specified
|
||||
-- scss = "sass",
|
||||
-- javascript = { "node", "javascript" }
|
||||
},
|
||||
float_win = { -- passed to nvim_open_win(), see :h api-floatwin
|
||||
relative = "editor",
|
||||
height = 25,
|
||||
width = 100,
|
||||
border = "rounded",
|
||||
},
|
||||
wrap = false, -- text wrap, only applies to floating window
|
||||
previewer_cmd = nil, -- for example: "glow"
|
||||
cmd_args = { "-s", "dark", "-w", "80" },
|
||||
cmd_ignore = {}, -- ignore cmd rendering for the listed docs
|
||||
picker_cmd = false, -- use cmd previewer in picker preview
|
||||
picker_cmd_args = { "-s", "dark", "-w", "50" },
|
||||
mappings = { -- keymaps for the doc buffer
|
||||
open_in_browser = "",
|
||||
},
|
||||
ensure_installed = {}, -- get automatically installed
|
||||
after_open = function(bufnr) end, -- callback that runs after the Devdocs window is opened. Devdocs buffer ID will be passed in
|
||||
},
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
--this plugin supercharges the %
|
||||
"andymass/vim-matchup",
|
||||
config = function()
|
||||
vim.g.matchup_matchparen_offscreen = { method = "popup" }
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
return { -- Collection of various small independent plugins/modules
|
||||
"echasnovski/mini.nvim",
|
||||
config = function()
|
||||
-- Better Around/Inside textobjects
|
||||
--
|
||||
-- Examples:
|
||||
-- - va) - [V]isually select [A]round [)]paren
|
||||
-- - yinq - [Y]ank [I]nside [N]ext [']quote
|
||||
-- - ci' - [C]hange [I]nside [']quote
|
||||
-- require("mini.ai").setup({ n_lines = 500 })
|
||||
|
||||
-- Add/delete/replace surroundings (brackets, quotes, etc.)
|
||||
--
|
||||
-- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren
|
||||
-- - sd' - [S]urround [D]elete [']quotes
|
||||
-- - sr)' - [S]urround [R]eplace [)] [']
|
||||
-- require("mini.surround").setup()
|
||||
|
||||
-- ... and there is more!
|
||||
-- Check out: https://github.com/echasnovski/mini.nvim
|
||||
require("mini.move").setup()
|
||||
-- require("mini.sessions").setup({
|
||||
-- -- Whether to read latest session if Neovim opened without file arguments
|
||||
-- autoread = true,
|
||||
--
|
||||
-- -- Whether to write current session before quitting Neovim
|
||||
-- autowrite = true,
|
||||
--
|
||||
-- -- Directory where global sessions are stored (use `''` to disable)
|
||||
-- -- directory = --<"session" subdir of user data directory from |stdpath()|>,
|
||||
--
|
||||
-- -- File for local session (use `''` to disable)
|
||||
-- -- file = "Session.vim",
|
||||
--
|
||||
-- -- Whether to force possibly harmful actions (meaning depends on function)
|
||||
-- force = { read = false, write = true, delete = false },
|
||||
--
|
||||
-- -- Hook functions for actions. Default `nil` means 'do nothing'.
|
||||
-- hooks = {
|
||||
-- -- Before successful action
|
||||
-- pre = { read = nil, write = nil, delete = nil },
|
||||
-- -- After successful action
|
||||
-- post = { read = nil, write = nil, delete = nil },
|
||||
-- },
|
||||
--
|
||||
-- -- Whether to print session path after action
|
||||
-- verbose = { read = false, write = true, delete = true },
|
||||
-- })
|
||||
end,
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
return {
|
||||
-- "karb94/neoscroll.nvim",
|
||||
-- config = function()
|
||||
-- require("neoscroll").setup({
|
||||
-- -- All these keys will be mapped to their corresponding default scrolling animation
|
||||
-- mappings = { "<C-u>", "<C-d>", "<C-b>", "<C-f>", "<C-y>", "<C-e>", "zt", "zz", "zb" },
|
||||
-- hide_cursor = true, -- Hide cursor while scrolling
|
||||
-- stop_eof = true, -- Stop at <EOF> when scrolling downwards
|
||||
-- respect_scrolloff = false, -- Stop scrolling when the cursor reaches the scrolloff margin of the file
|
||||
-- cursor_scrolls_alone = true, -- The cursor will keep on scrolling even if the window cannot scroll further
|
||||
-- easing_function = nil, -- Default easing function
|
||||
-- pre_hook = nil, -- Function to run before the scrolling animation starts
|
||||
-- post_hook = nil, -- Function to run after the scrolling animation ends
|
||||
-- performance_mode = false, -- Disable "Performance Mode" on all buffers.
|
||||
-- })
|
||||
-- end,
|
||||
}
|
Loading…
Reference in New Issue