自用neovim配置
Go to file
2023-05-06 19:30:25 +08:00
ftplugin fix: windows jdtls support 2023-05-03 20:42:02 +08:00
lua fix: java jdtls home path create 2023-05-06 19:30:25 +08:00
.gitignore first commit 2023-02-26 20:50:20 +08:00
init.lua feat: golang ide config with format 2023-05-06 01:47:05 +08:00
intellij-java-google-style.xml feat: support java 2023-04-29 20:17:15 +08:00
README.md feat: golang ide config with format 2023-05-06 01:47:05 +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
go install -v github.com/incu6us/goimports-reviser/v3@latest
go install github.com/segmentio/golines@latest
go install mvdan.cc/gofumpt@latest

记忆项

代码折叠

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