2023-01-22 22:20:39 +08:00
|
|
|
<!-- @import "[TOC]" {cmd="toc" depthFrom=1 depthTo=6 orderedList=false} -->
|
2023-01-22 17:20:38 +08:00
|
|
|
# 从零开始打造属于自己的nvim
|
2023-02-11 23:07:44 +08:00
|
|
|
|
|
|
|
## 如何在不同的系统安装
|
|
|
|
### arch系
|
|
|
|
```bash
|
|
|
|
sudo pacman -S neovim nodejs npm
|
|
|
|
```
|
|
|
|
|
|
|
|
### ubuntu系
|
|
|
|
```bash
|
|
|
|
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y nodejs
|
|
|
|
sudo apt-get install neovim
|
|
|
|
```
|
|
|
|
|
2023-01-22 20:24:58 +08:00
|
|
|
## 文件结构
|
|
|
|
```
|
2023-02-24 22:35:57 +08:00
|
|
|
.
|
2023-01-22 20:24:58 +08:00
|
|
|
├── coc-settings.json
|
|
|
|
├── init.lua
|
|
|
|
├── lua
|
|
|
|
│ ├── core
|
2023-02-24 22:35:57 +08:00
|
|
|
│ │ ├── filetype.lua
|
2023-01-22 20:24:58 +08:00
|
|
|
│ │ ├── keymap.lua
|
|
|
|
│ │ ├── options.lua
|
|
|
|
│ │ └── plug.lua
|
2023-01-28 15:11:37 +08:00
|
|
|
│ ├── Filetype
|
|
|
|
│ │ ├── c.lua
|
2023-02-24 22:35:57 +08:00
|
|
|
│ │ ├── markdown.lua
|
|
|
|
│ │ └── vue.lua
|
2023-01-28 16:23:14 +08:00
|
|
|
│ ├── G.lua
|
2023-01-22 20:24:58 +08:00
|
|
|
│ └── Plugin
|
2023-02-24 22:35:57 +08:00
|
|
|
│ ├── ale.lua
|
2023-01-22 20:24:58 +08:00
|
|
|
│ ├── coc.lua
|
2023-02-24 22:35:57 +08:00
|
|
|
│ ├── hlchunk.lua
|
2023-01-28 16:23:14 +08:00
|
|
|
│ ├── Imchange.lua
|
2023-02-24 22:35:57 +08:00
|
|
|
│ ├── lualine.lua
|
|
|
|
│ └── treesitter.lua
|
|
|
|
├── plugin
|
|
|
|
│ └── packer_compiled.lua
|
2023-01-22 20:24:58 +08:00
|
|
|
└── README.md
|
|
|
|
```
|