Giter Club home page Giter Club logo

neovim-config's Introduction

📚️ Instruction 介绍

  个人日常编写代码使用的Neovim配置,由NvChad配置修改而来。

✨ Features 特征

  • 一键安装, 开合即用。
  • 完美继承了Nvchad精美的UI设计和极快的启动速度。
  • 剔除了NvChad原有的部分配置,使得个人可定制化程度更高。
  • 集成了大多数热门nvim插件,提供更好的代码编写体验。

🌲 Neovim 配置目录树

  我的neovim配置结构如下:

nvim
├─ .stylua.toml
├─ init.lua
├─ lazy-lock.json
├─ lua
│  ├─ chadrc.lua
│  ├─ mappings.lua
│  ├─ options.lua
│  ├─ configs             #✨插件配置✨#        
│  │  ├─ dap              
│  │  │  └─ clients/
│  │  ├─ mason/           
│  │  └─ ui/              
│  ├─ plugins/            #✨安装的插件✨#
│  │  ├─ core/
│  │  ├─ libs/
│  │  ├─ other
│  │  ├─ tools/
│  │  └─ ui/
│  └─ utils/              #✨自定义功能✨#
└─ snippets/              #✨代码片段✨#  

📋 Plugins list 插件列表

  安装的插件大部分存放在plugins目录下, 并进行简单的分类。一部分ui插件安装来自NvChad/ui
  目前分为 核心插件(core),未归类插件(others),工具插件(tools),库插件(libs),ui插件(ui)

  • core
    • 代码补全: nvim-cmp
    • 代码诊断: nvim-lint
    • 代码格式化: conform
    • lsp相关: nvim-lspconfig
    • mason相关: mason, mason-lspconfig, mason-nvim-dap, mason-tool-installer
    • 文本高亮: nvim-treesitter
    • ui美化: nvim-tree, nvim-telescope
    • ......
  • libs
    • 提供40+独立Lua模块库:  mini
    • ......
  • other
    • 更好的注释: Comment
    • 括号匹配: surround
    • 代码诊断定位: trouble
    • ......
  • tools
    • 内置git GUI:  lazygit
    • 内置yazi文件管理器:  yazi
    • 内置ai:  copilot, codeium
    • ......
  • ui
    • 代码大纲:  aerial
    • 消息弹窗:  noice, dressing
    • 待办事务:  todo-comments
    • 精美图标:  lspkind, nvim-web-devicons, gitsigns
    • ......

📦 Installation 安装

  ⚠️注意:请确保在安装之前先备份你先前的neovim配置(这是一种好的习惯)。
  安装的具体步骤可参考下面的命令执行:)。

mv ~/.config/nvim ~/.config/nvim-backup
git clone https://github.com/STMT017/Neovim-Config ~/.config/nvim && nvim

⚙️ Configuration 配置

  确保你熟悉lua的用法和了解本项目结构, 那么你可以在此基础上进行自定义配置。

neovim-config's People

Contributors

sstmtz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.