My configuration of neovim, which I modify from nvim-basic-ide.
For more information about usage, please refer to :h dvim
in neovim with my configuration.
-
install neovim 0.9+
-
install ueberzugpp, unzip, nodejs, npm
-
install plugins by
Layz sync
-
add the server to this list: servers install language server by
:Mason
-
add treesitter parser in list, install treesitter for programe languages by
:TSInstall
-
add patch fonts on Nerd Font compatible font
mkdir -p ~/.local/share/fonts
cp xxx.otf ~/.local/share/fonts/
fc-cache -f -v
fc-list | grep "<name-of-font>"
-
set terminal font as patched font
-
check health by
:checkhealth
This config ships with several complementary AI helpers:
- sidekick.nvim – drives Copilot “Next Edit Suggestions” and hosts an AI CLI
terminal. Use
<leader>aa
to open the terminal,<leader>ap
for the prompt picker, and<Tab>
(in Insert mode) to jump or apply NES edits before falling back to cmp completions. - copilot.lua – keeps the Copilot LSP running in the background. Inline
ghost text is intentionally disabled (
suggestion.enabled = false
) so sidekick and cmp own the completion UX. Run:Copilot auth
once per machine, and:Copilot disable
if you want to pause Copilot entirely. - copilot-cmp – exposes Copilot completions through
nvim-cmp
. They appear in the completion menu with the Copilot icon and respect the existing<CR>
/<Tab>
bindings. - mcphub.nvim – optional command
:MCPHub
to launch a model-context-protocol hub for local/remote AI backends. Start it when you need MCP routing; it stays out of the way otherwise.
If you ever see overlapping behaviour (multiple tools expanding a <Tab>
or
opening a chat buffer), prefer sidekick’s bindings and disable the specific
plugin for that buffer (:Sidekick nes disable
, :Copilot disable
) to keep the
workflow predictable.