擴充功能(NeoVim)
擴充功能
快捷鍵
folke/which-key.nvim: 💥 Create key bindings that stick. WhichKey helps you remember your Neovim keymaps, by showing available keybindings in a popup as you type.
顏色主題
ellisonleao/gruvbox.nvim: Lua port of the most famous vim colorscheme
浮動狀態列
b0o/incline.nvim: 🎈 Floating statuslines for Neovim, winbar alternative
行背景色顯示目前模式
mvllow/modes.nvim: Prismatic line decorations for the adventurous vim user
插件組合
folke/snacks.nvim: 🍿 A collection of QoL plugins for Neovim
mini.icons
nvim-mini/mini.icons: Icon provider. Part of 'mini.nvim' library.
nvim-web-devicons
nvim-tree/nvim-web-devicons: Provides Nerd Font icons (glyphs) for use by neovim plugins
terminal
<C-/>:進入terminal
terminal中雙擊Esc:回到Normal mode
Normal mode
q:關閉
gf:開啟錨點檔案
explorer
code:snacks.lua
-- ...
picker = {
enabled = true,
sources = {
explorer = {
focus = "list",
auto_close = true,
}
}
},
-- ...
folke/noice.nvim: 💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
:Noice:查看歷史訊息
WilliamHsieh/overlook.nvim: Stackable popups for Neovim. Peek around the code without overlooking the bigger picture.
GitHub - folke/flash.nvim: Navigate your code with search labels, enhanced character motions and Treesitter integration
GitHub - y3owk1n/undo-glow.nvim: 🌈 Add animated glow/highlight effects to your neovim operation (undo, redo, yank, paste and more) with simple APIs. Alternatives to highlight-undo.nvim and tiny-glimmer.nvim.
GitHub - pwntester/octo.nvim: Edit and review GitHub issues and pull requests from the comfort of your favorite editor
收納層疊
GitHub - kevinhwang91/nvim-ufo: Not UFO in the sky, but an ultra fold in Neovim.
code:nvim-ufo.lua
return {
"kevinhwang91/nvim-ufo",
dependencies = {
"kevinhwang91/promise-async",
},
config = function(_, opts)
vim.o.foldcolumn = '1'
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
vim.keymap.set('n', 'zR', require('ufo').openAllFolds, { desc = "Open all folds" })
vim.keymap.set('n', 'zM', require('ufo').closeAllFolds, { desc = "Close all folds" })
vim.keymap.set('n', 'zK', function()
local winid = require('ufo').peekFoldedLinesUnderCursor()
if not winid then
vim.lsp.buf.hover()
end
end, { desc = "Peek Fold" })
require('ufo').setup({
provide_selector = function(bufnr, filetype, buftype)
return { 'lsp', 'indent' }
end
})
end
}
複製檔案路徑
GitHub - h3pei/copy-file-path.nvim: A Neovim plugin to copy file path to the clipboard.
2025-12-01 思考を減らしコードに集中するための tmux, Neovim 設定