自用neovim配置
Go to file
Young Xu ed7b42efbc
feat: support java
fix: nvim tree filter .gitignore
support: rust language
2023-04-29 20:10:58 +08:00
ftplugin feat: support java 2023-04-29 20:10:58 +08:00
lua feat: support java 2023-04-29 20:10:58 +08:00
.gitignore first commit 2023-02-26 20:50:20 +08:00
init.lua feat: support java 2023-04-29 20:10:58 +08:00
intellij-java-google-style.xml feat: support java 2023-04-29 20:10:58 +08:00
README.md feat: support java 2023-04-29 20:10:58 +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 luarocks -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 - 关闭全部折叠