自用neovim配置
Go to file
2023-04-02 17:45:18 +08:00
ftplugin fix: golang lsp action 2023-03-27 23:12:54 +08:00
lua feat: support yaml language server schema validate 2023-04-02 17:45:18 +08:00
.gitignore first commit 2023-02-26 20:50:20 +08:00
init.lua fix: golang lsp action 2023-03-27 23:12:54 +08:00
README.md feat: windows compatible 2023-04-02 14:28:20 +08:00

neovim

一个neovim配置

usage

安装插件管理工具

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim

安装依赖

sudo dnf install fd-find ripgrep ShellCheck -y
go install github.com/jesseduffield/lazygit@latest
sudo npm install eslint --global
sudo npm install -g typescript typescript-language-server
sudo npm install -g @volar/vue-language-server
sudo npm install -g eslint_d
go install github.com/yoheimuta/protolint/cmd/protolint@latest

记忆项

代码折叠

  • zo - 在光标下打开折叠
  • zc - 在光标下关闭折叠
  • za - 切换光标下打开、关闭状态
  • zr - 将所有折叠打开一层
  • zm - 将所有折叠关闭一层
  • zR - 打开全部折叠
  • zM - 关闭全部折叠