best plugin ever created

This commit is contained in:
Zacharias-Brohn
2025-10-18 01:30:58 +02:00
parent 2e011ea5e5
commit 68b0466153
5 changed files with 56 additions and 19 deletions
+5 -2
View File
@@ -1,5 +1,7 @@
vim.opt.backup = false
vim.opt.writebackup = false
vim.opt.completeopt = "menuone,menu,noinsert,noselect,popup"
vim.opt.pumheight = 10
vim.opt.updatetime = 300
@@ -17,11 +19,12 @@ end
-- NOTE: Use command ':verbose imap <tab>' to make sure Tab is not mapped by
-- other plugins before putting this into your config
local opts = {silent = true, noremap = true, expr = true, replace_keycodes = false}
keyset("i", "<TAB>", 'coc#pum#visible() ? coc#pum#next(1) : v:lua.check_back_space() ? "<TAB>" : coc#refresh()', opts)
keyset("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"]], opts)
keyset("i", "<TAB>", 'coc#pum#visible() ? coc#pum#next(0) : v:lua.check_back_space() ? "<TAB>" : coc#refresh()', opts)
keyset("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(0) : "\<C-h>"]], opts)
-- Make <CR> to accept selected completion item or notify coc.nvim to format
-- <C-g>u breaks current undo, please make your own choice
keyset("i", "<cr>", [[coc#pum#visible() ? coc#pum#confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"]], opts)
-- Use <c-j> to trigger snippets
+3
View File
@@ -52,3 +52,6 @@ local is_windows = vim.fn.has "win32" ~= 0
local sep = is_windows and "\\" or "/"
local delim = is_windows and ";" or ":"
vim.env.PATH = table.concat({ vim.fn.stdpath "data", "mason", "bin" }, sep) .. delim .. vim.env.PATH
-- vim-tpipeline
vim.g.tpipeline_restore = 1
+2 -15
View File
@@ -182,7 +182,7 @@ return {
},
{
"neovim/nvim-lspconfig",
enabled = false,
enabled = true,
dependencies = {
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
@@ -237,18 +237,6 @@ return {
"mg979/vim-visual-multi",
branch = "master",
},
{
"jackMort/ChatGPT.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"folke/trouble.nvim",
"nvim-telescope/telescope.nvim"
},
config = function()
require("config.chatgpt")
end,
},
{
"elkowar/yuck.vim",
},
@@ -263,7 +251,6 @@ return {
"lancewilhelm/horizon-extended.nvim",
},
{
"neoclide/coc.nvim",
branch = "release",
"vimpostor/vim-tpipeline",
}
}