Plugin suggestions #494
Replies: 37 comments 115 replies
-
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
numb.nvim: a Neovim plugin that peeks lines of the buffer in non-obtrusive way. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
https://github.com/GnikDroy/projections.nvim provides project function and session function in the same time, maybe can be introduced to replace |
Beta Was this translation helpful? Give feedback.
-
IMO now we could just keep dstein64/nvim-scrollview b/c starting from |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Replace Configsdiff --git a/.config/nvim/lua/modules/configs/completion/cmp.lua b/.config/nvim/lua/modules/configs/completion/cmp.lua
index ff53bb4..bf25c96 100644
--- a/.config/nvim/lua/modules/configs/completion/cmp.lua
+++ b/.config/nvim/lua/modules/configs/completion/cmp.lua
@@ -162,4 +162,30 @@ return function()
},
},
})
+
+ cmp.setup.cmdline("/", {
+ mapping = cmp.mapping.preset.cmdline(),
+ sources = {
+ { name = "buffer" },
+ },
+ })
+ cmp.setup.cmdline("?", {
+ mapping = cmp.mapping.preset.cmdline(),
+ sources = {
+ { name = "buffer" },
+ },
+ })
+ cmp.setup.cmdline(":", {
+ mapping = cmp.mapping.preset.cmdline(),
+ sources = cmp.config.sources({
+ { name = "path" },
+ }, {
+ {
+ name = "cmdline",
+ option = {
+ ignore_cmds = { "Man", "!" },
+ },
+ },
+ }),
+ })
end
diff --git a/.config/nvim/lua/modules/configs/tool/wilder.lua b/.config/nvim/lua/modules/configs/tool/wilder.lua
deleted file mode 100644
index 9206e98..0000000
--- a/.config/nvim/lua/modules/configs/tool/wilder.lua
+++ /dev/null
@@ -1,64 +0,0 @@
-return function()
- local wilder = require("wilder")
- local icons = { ui = require("modules.utils.icons").get("ui") }
-
- wilder.setup({ modes = { ":", "/", "?" } })
- wilder.set_option("use_python_remote_plugin", 0)
- wilder.set_option("pipeline", {
- wilder.branch(
- wilder.cmdline_pipeline({ use_python = 0, fuzzy = 1, fuzzy_filter = wilder.lua_fzy_filter() }),
- wilder.vim_search_pipeline(),
- {
- wilder.check(function(_, x)
- return x == ""
- end),
- wilder.history(),
- wilder.result({
- draw = {
- function(_, x)
- return icons.ui.Calendar .. " " .. x
- end,
- },
- }),
- }
- ),
- })
-
- local popupmenu_renderer = wilder.popupmenu_renderer(wilder.popupmenu_border_theme({
- border = "rounded",
- highlights = {
- default = "Pmenu",
- border = "PmenuBorder", -- highlight to use for the border
- accent = wilder.make_hl("WilderAccent", "CmpItemAbbr", "CmpItemAbbrMatch"),
- },
- empty_message = wilder.popupmenu_empty_message_with_spinner(),
- highlighter = wilder.lua_fzy_highlighter(),
- left = {
- " ",
- wilder.popupmenu_devicons(),
- wilder.popupmenu_buffer_flags({
- flags = " a + ",
- icons = { ["+"] = icons.ui.Pencil, a = icons.ui.Indicator, h = icons.ui.File },
- }),
- },
- right = {
- " ",
- wilder.popupmenu_scrollbar(),
- },
- }))
- local wildmenu_renderer = wilder.wildmenu_renderer({
- highlighter = wilder.lua_fzy_highlighter(),
- apply_incsearch_fix = true,
- separator = " | ",
- left = { " ", wilder.wildmenu_spinner(), " " },
- right = { " ", wilder.wildmenu_index() },
- })
- wilder.set_option(
- "renderer",
- wilder.renderer_mux({
- [":"] = popupmenu_renderer,
- ["/"] = wildmenu_renderer,
- substitute = wildmenu_renderer,
- })
- )
-end
diff --git a/.config/nvim/lua/modules/plugins/completion.lua b/.config/nvim/lua/modules/plugins/completion.lua
index f4650e6..8263a5c 100644
--- a/.config/nvim/lua/modules/plugins/completion.lua
+++ b/.config/nvim/lua/modules/plugins/completion.lua
@@ -43,6 +43,10 @@ completion["hrsh7th/nvim-cmp"] = {
{ "hrsh7th/cmp-buffer" },
{ "kdheepak/cmp-latex-symbols" },
{ "ray-x/cmp-treesitter", commit = "c8e3a74" },
+ {
+ "hrsh7th/cmp-cmdline",
+ event = "CmdlineEnter",
+ },
-- { "tzachar/cmp-tabnine", build = "./install.sh", config = require("completion.tabnine") },
-- {
-- "jcdickinson/codeium.nvim",
diff --git a/.config/nvim/lua/modules/plugins/tool.lua b/.config/nvim/lua/modules/plugins/tool.lua
index 50c5acd..c252a08 100644
--- a/.config/nvim/lua/modules/plugins/tool.lua
+++ b/.config/nvim/lua/modules/plugins/tool.lua
@@ -57,12 +57,6 @@ tool["folke/which-key.nvim"] = {
event = { "CursorHold", "CursorHoldI" },
config = require("tool.which-key"),
}
-tool["gelguy/wilder.nvim"] = {
- lazy = true,
- event = "CmdlineEnter",
- config = require("tool.wilder"),
- dependencies = { "romgrk/fzy-lua-native" },
-}
----------------------------------------------------------------------
-- Telescope Plugins -- |
Beta Was this translation helpful? Give feedback.
-
https://github.com/nvim-telescope/telescope-file-browser.nvim A more featureful extension that replaces the builtin file browser. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Also, I recently checked out mini.nvim and found it actually offers a ton of useful tools (some even similar to what we've got in our repo). Starting to see what @aarnphm meant about the whole "mini.nvim ecosystem" lol. Could be worth a try swapping out some of the plugins in our repo with "mini"-alternatives (might help ease the burden of managing that loooong list of plugins too lmao) |
Beta Was this translation helpful? Give feedback.
-
I find a interesting pluggin, https://github.com/nvimtools/hydra.nvim . It help me to establish a submode. eg: It is the part of my config. press keymap mz into scroll mode. In that mode, I can use d, not c-d scroll down. use u not c-u, scroll up half screen. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
mikesmithgh/kitty-scrollback.nvim An |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I replaced nvim-tree with neotree in my own config, currently it works well. |
Beta Was this translation helpful? Give feedback.
-
as title
Beta Was this translation helpful? Give feedback.
All reactions