Skip to content

JavaHello/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,324 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVIM IDE

支持 Java, Python, Rust 语言的 LSP, DAP 配置

安装

Linux, Mac

cd ~/.config
git clone https://github.com/JavaHello/nvim.git

依赖

其他依赖可选安装,使用 mason.nvim

此配置在 Linux, Mac 系统上长期使用

快捷键

功能 模式 按键
文件管理 Normal <leader>e
文件搜索 Normal <leader>ff
全局搜索 Normal or Visual <leader>fw
Git 操作 Command :Git
Outline Normal <leader>o
查看实现 Normal gi
查看引用 Normal gr
查看声明 Normal gd
格式化(LSP 提供支持) Normal or Visual <C-l>
重命名 Normal <leader>rn
Code Action Normal <leader>ca
Debug Normal :DapContinue
断点 Normal <leader>db
内置终端 Command <A-i>
Java: Junit Test Method Normal <leader>dm
Java: Junit Test Class Normal <leader>dc
Run Last Normal <leader>dl
Java: 更新项目配置 Command :JdtUpdateConfig
Java: 刷新 Main 方法 Debug 配置 Command :JdtRefreshDebugConfigs
Java: 预览项目依赖 Command :JavaProjects

更多配置参考 mappings 文件

Java 配置

Spring Boot LS

  • 依赖 vscode 插件 VScode Spring Boot
  • 查找symbols,bean定义,bean引用,bean实现等。
  • application.properties, application.yml 文件提示

GPT 功能

依赖 DeepSeek API

  • 命令 :GptChat 开启对话窗, <Enter> 发送请求
  • 命令 :TransXXX 翻译文本
  • git 提交窗口,快捷键 <leader>cm 生成 git 提交消息

About

nvim config

Topics

Resources

License

Apache-2.0, GPL-3.0 licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
GPL-3.0
LICENSE-GPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •