diff --git a/lazy-lock.json b/lazy-lock.json index a8f71d6..e070485 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -5,7 +5,6 @@ "bufdelete.nvim": { "branch": "master", "commit": "8933abc09df6c381d47dc271b1ee5d266541448e" }, "bufferline.nvim": { "branch": "main", "commit": "eb4e95be22c55890b90fc01a8223e0c0ea4a0862" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, - "cmp-cmdline": { "branch": "main", "commit": "8fcc934a52af96120fe26358985c10c035984b53" }, "cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" }, "cmp-nvim-lua": { "branch": "main", "commit": "f3491638d123cfd2c8048aefaf66d246ff250ca6" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, @@ -29,8 +28,6 @@ "mini.animate": { "branch": "main", "commit": "ca9b687b6da98b48081dc72e27a9657c85cde135" }, "mini.indentscope": { "branch": "main", "commit": "43f6761c9a3e397b7c12b3c72f678bcf61efcfcf" }, "neoscroll.nvim": { "branch": "master", "commit": "d7601c26c8a183fa8994ed339e70c2d841253e93" }, - "noice.nvim": { "branch": "main", "commit": "1da4edfba3e9278e98fc9723d7235d9ab3889744" }, - "nui.nvim": { "branch": "main", "commit": "1f43b13d133eb4b4f53a4485379d9afa58808389" }, "null-ls.nvim": { "branch": "main", "commit": "5855128178fa78293acdfb5b4e41ef046779240b" }, "nvim-autopairs": { "branch": "master", "commit": "4fc96c8f3df89b6d23e5092d31c866c53a346347" }, "nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" }, @@ -49,7 +46,6 @@ "nvim-web-devicons": { "branch": "master", "commit": "f16ec8f6e5d23e4349501dae46e0a661918e086e" }, "plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" }, "smart-splits.nvim": { "branch": "master", "commit": "d0111ef84fc82c9a31f4b000ff99190eaf18e790" }, - "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "telescope.nvim": { "branch": "master", "commit": "942fe5faef47b21241e970551eba407bc10d9547" }, "todo-comments.nvim": { "branch": "main", "commit": "8febc60a76feefd8203077ef78b6a262ea1a41f9" }, "toggleterm.nvim": { "branch": "main", "commit": "b86982429325112d2b20c6d0cc7a5c4b182ab705" }, @@ -59,5 +55,6 @@ "vim-startuptime": { "branch": "master", "commit": "5f52ed26e0296a3e1d1453935f417e5808eefab8" }, "vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" }, "which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" }, + "wilder.nvim": { "branch": "master", "commit": "679f348dc90d80ff9ba0e7c470c40a4d038dcecf" }, "yanky.nvim": { "branch": "main", "commit": "9fb1c211775b5a6c83b9fe806cfd99f68c65f8a0" } } \ No newline at end of file diff --git a/lua/custom/plugins/cmdline.lua b/lua/custom/plugins/cmdline.lua index bea3252..8665492 100644 --- a/lua/custom/plugins/cmdline.lua +++ b/lua/custom/plugins/cmdline.lua @@ -7,151 +7,135 @@ if vim.g.neovide then end vim.opt.lazyredraw = is_neovide return { - { "gelguy/wilder.nvim", enabled = false }, - { - "folke/noice.nvim", - enabled = use_noice, - dependencies = { - { "MunifTanjim/nui.nvim", enabled = use_noice }, - }, - event = "BufWinEnter", - opts = { - messages = { - enabled = false, - }, - notify = { - enabled = false, - }, - lsp = { - progress = { - enabled = false, - }, - hover = { - enabled = false, - }, - signature = { - enabled = false, - }, - }, - }, - keys = { - { - "", - function() - require("noice").redirect(vim.fn.getcmdline()) - end, - mode = "c", - desc = "Redirect Cmdline", - }, - { - "snl", - function() - require("noice").cmd("last") - end, - desc = "Noice Last Message", - }, - { - "snh", - function() - require("noice").cmd("history") - end, - desc = "Noice History", - }, - { - "sna", - function() - require("noice").cmd("all") - end, - desc = "Noice All", - }, - { - "", - function() - if not require("noice.lsp").scroll(4) then - return "" - end - end, - silent = true, - expr = true, - desc = "Scroll forward", - mode = { "i", "n", "s" }, - }, - { - "", - function() - if not require("noice.lsp").scroll(-4) then - return "" - end - end, - silent = true, - expr = true, - desc = "Scroll backward", - mode = { "i", "n", "s" }, - }, - }, - -- config = function() - -- vim.opt.lazyredraw = false - -- require("noice").setup({ - -- messages = { - -- enabled = false, - -- }, - -- notify = { - -- enabled = false, - -- }, - -- lsp = { - -- progress = { - -- enabled = false, - -- }, - -- }, - -- }) - -- end, - }, - { - "hrsh7th/cmp-cmdline", - event = "VeryLazy", - config = function() - local cmp = require("cmp") - local mapping = { - [""] = cmp.mapping.confirm({ select = true }), - [""] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }), - [""] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }), - [""] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }), - [""] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }), - } - - -- Use buffer source for `/`. - cmp.setup.cmdline("/", { - preselect = "none", - completion = { - completeopt = "menu,preview,menuone,noselect", - }, - mapping = mapping, - sources = { - { name = "buffer" }, - }, - experimental = { - ghost_text = true, - native_menu = false, - }, - }) - - -- Use cmdline & path source for ':'. - cmp.setup.cmdline(":", { - preselect = "none", - completion = { - completeopt = "menu,preview,menuone,noselect", - }, - mapping = mapping, - sources = cmp.config.sources({ - { name = "path" }, - }, { - { name = "cmdline" }, - }), - experimental = { - ghost_text = true, - native_menu = false, - }, - }) - end, - }, + -- { "gelguy/wilder.nvim", enabled = false }, + -- { + -- "folke/noice.nvim", + -- enabled = use_noice, + -- dependencies = { + -- { "MunifTanjim/nui.nvim", enabled = use_noice }, + -- }, + -- event = "BufWinEnter", + -- opts = { + -- messages = { + -- enabled = false, + -- }, + -- notify = { + -- enabled = false, + -- }, + -- lsp = { + -- progress = { + -- enabled = false, + -- }, + -- hover = { + -- enabled = false, + -- }, + -- signature = { + -- enabled = false, + -- }, + -- }, + -- }, + -- keys = { + -- { + -- "", + -- function() + -- require("noice").redirect(vim.fn.getcmdline()) + -- end, + -- mode = "c", + -- desc = "Redirect Cmdline", + -- }, + -- { + -- "snl", + -- function() + -- require("noice").cmd("last") + -- end, + -- desc = "Noice Last Message", + -- }, + -- { + -- "snh", + -- function() + -- require("noice").cmd("history") + -- end, + -- desc = "Noice History", + -- }, + -- { + -- "sna", + -- function() + -- require("noice").cmd("all") + -- end, + -- desc = "Noice All", + -- }, + -- { + -- "", + -- function() + -- if not require("noice.lsp").scroll(4) then + -- return "" + -- end + -- end, + -- silent = true, + -- expr = true, + -- desc = "Scroll forward", + -- mode = { "i", "n", "s" }, + -- }, + -- { + -- "", + -- function() + -- if not require("noice.lsp").scroll(-4) then + -- return "" + -- end + -- end, + -- silent = true, + -- expr = true, + -- desc = "Scroll backward", + -- mode = { "i", "n", "s" }, + -- }, + -- }, + -- }, + -- { + -- "hrsh7th/cmp-cmdline", + -- event = "VeryLazy", + -- config = function() + -- local cmp = require("cmp") + -- local mapping = { + -- [""] = cmp.mapping.confirm({ select = true }), + -- [""] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }), + -- [""] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }), + -- [""] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }), + -- [""] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }), + -- } + -- + -- -- Use buffer source for `/`. + -- cmp.setup.cmdline("/", { + -- preselect = "none", + -- completion = { + -- completeopt = "menu,preview,menuone,noselect", + -- }, + -- mapping = mapping, + -- sources = { + -- { name = "buffer" }, + -- }, + -- experimental = { + -- ghost_text = true, + -- native_menu = false, + -- }, + -- }) + -- + -- -- Use cmdline & path source for ':'. + -- cmp.setup.cmdline(":", { + -- preselect = "none", + -- completion = { + -- completeopt = "menu,preview,menuone,noselect", + -- }, + -- mapping = mapping, + -- sources = cmp.config.sources({ + -- { name = "path" }, + -- }, { + -- { name = "cmdline" }, + -- }), + -- experimental = { + -- ghost_text = true, + -- native_menu = false, + -- }, + -- }) + -- end, + -- }, } diff --git a/lua/custom/plugins/ui.lua b/lua/custom/plugins/ui.lua index 629aea1..75be0ad 100644 --- a/lua/custom/plugins/ui.lua +++ b/lua/custom/plugins/ui.lua @@ -1,14 +1,14 @@ return { -- { "RRethy/nvim-base16" }, - -- simbol outline - { - "simrat39/symbols-outline.nvim", - lazy = true, - event = "BufRead", - config = function() - require("symbols-outline").setup() - end, - }, + -- -- simbol outline + -- { + -- "simrat39/symbols-outline.nvim", + -- lazy = true, + -- event = "BufRead", + -- config = function() + -- require("symbols-outline").setup() + -- end, + -- }, -- { -- "nvim-lualine/lualine.nvim", -- lazy = true,