diff --git a/.config/nvim/lazyvim.json b/.config/nvim/lazyvim.json index ee1c524..05f524f 100644 --- a/.config/nvim/lazyvim.json +++ b/.config/nvim/lazyvim.json @@ -1,6 +1,5 @@ { "extras": [ - "lazyvim.plugins.extras.coding.codeium", "lazyvim.plugins.extras.dap.core", "lazyvim.plugins.extras.formatting.prettier", "lazyvim.plugins.extras.lang.go", @@ -15,10 +14,11 @@ "lazyvim.plugins.extras.test.core", "lazyvim.plugins.extras.ui.edgy", "lazyvim.plugins.extras.ui.treesitter-context", - "lazyvim.plugins.extras.util.gitui" + "lazyvim.plugins.extras.util.gitui", + "lazyvim.plugins.extras.util.project" ], "news": { - "NEWS.md": "5950" + "NEWS.md": "6077" }, "version": 6 } \ No newline at end of file diff --git a/.config/nvim/lua/plugins/coding.lua b/.config/nvim/lua/plugins/coding.lua index aee499e..b2af23a 100644 --- a/.config/nvim/lua/plugins/coding.lua +++ b/.config/nvim/lua/plugins/coding.lua @@ -13,9 +13,9 @@ return { table.insert(opts.sources, { name = "emoji" }) opts.view = { docs = { auto_open = false }, entries = { follow_cursor = true } } - -- opts.completion = { - -- autocomplete = false, - -- } + opts.completion = { + autocomplete = false, + } local winhighlight = "Normal:NoiceCmdlinePopupTitle,FloatBorder:NoiceCmdlinePopupBorder,CursorLine:PMenuSel,Search:Search" @@ -54,4 +54,16 @@ return { enable_chat = false, }, }, + + { + "monkoose/neocodeium", + event = "VeryLazy", + config = function() + local neocodeium = require("neocodeium") + neocodeium.setup() + vim.keymap.set("i", "", neocodeium.accept) + vim.keymap.set("i", "", neocodeium.accept) + vim.keymap.set("i", "", neocodeium.cycle_or_complete) + end, + }, } diff --git a/.config/nvim/lua/plugins/editor.lua b/.config/nvim/lua/plugins/editor.lua index 691d9a1..3516f5a 100644 --- a/.config/nvim/lua/plugins/editor.lua +++ b/.config/nvim/lua/plugins/editor.lua @@ -43,7 +43,7 @@ return { horizontal = { prompt_position = "top", mirror = false, - preview_width = 0.4, + preview_width = 0.49, -- preview_height = 0.5, }, width = 0.9, @@ -57,10 +57,10 @@ return { [""] = false, -- clear prompt }, }, - path_display = { "filename_first" }, - previewer = false, + -- path_display = { "filename_first" }, + -- previewer = false, preview = { - hide_on_startup = true, + -- hide_on_startup = true, }, sorting_strategy = "ascending", winblend = 0, @@ -68,4 +68,8 @@ return { } end, }, + + { + "natecraddock/telescope-zf-native.nvim", + }, } diff --git a/.config/nvim/lua/plugins/extras.lua b/.config/nvim/lua/plugins/extras.lua index 8dd86c5..79d1a52 100644 --- a/.config/nvim/lua/plugins/extras.lua +++ b/.config/nvim/lua/plugins/extras.lua @@ -96,15 +96,4 @@ return { }, }, }, - - { - "monkoose/neocodeium", - event = "VeryLazy", - config = function() - local neocodeium = require("neocodeium") - neocodeium.setup() - vim.keymap.set("i", "", neocodeium.accept) - vim.keymap.set("i", "", neocodeium.cycle_or_complete) - end, - }, } diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index b9eb9c2..fd5b977 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -31,6 +31,7 @@ return { max_width = 50, max_height = 20, show_borders = true, + toggle_event = { "InsertEnter", "InsertLeave" }, }, }, @@ -117,14 +118,9 @@ return { }, { - "linrongbin16/fzfx.nvim", - dependencies = { "nvim-tree/nvim-web-devicons", "junegunn/fzf" }, - - -- specify version to avoid break changes - version = "v5.*", - - config = function() - require("fzfx").setup() - end, + "ahmedkhalf/project.nvim", + opts = { + manual_mode = false, + }, }, }