Skip to content

dongdongbh/nvim.conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim.conf

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.

Steps to setup

  1. install neovim 0.9+

  2. install ueberzugpp, unzip, nodejs, npm

  3. install plugins by Layz sync

  4. add the server to this list: servers install language server by :Mason

  5. add treesitter parser in list, install treesitter for programe languages by :TSInstall

  6. 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>"
  1. set terminal font as patched font

  2. check health by :checkhealth

AI-assisted workflow

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.

About

my nvim config

Topics

Resources

License

Stars

Watchers

Forks