- 考虑多系统的兼容性:因为之前的设计没有考虑这边的windows 配置,所以导致在windows下没法直接用(得进一步设计); 还不如趁机会 参考一下其他人的 config的设计
- 跟进一下最新大家常用的plugins: 每次跟进大家的新插件的时候,对比&配置都会消耗巨大的时间。
:LazyExtras+<x>来开启或者关闭一些plugins;- 可以通过配置 import来启动,或者手动启动
直接DEBUG neovim instance in lua
- 主要思路来自 https://github.com/jbyuki/one-small-step-for-vimkind/blob/main/doc/osv.txt#L44
- 先开一个instance
<leader>daL开启server (如果没有的话,就:lua require"osv".launch({port=8086}))- 后来改成
<leader>dL
- 后来改成
- 再开第二个个instance
- 打开相关代码
<leader>db设置断点 - continue run
<leader>dc(选择attach到 neovim instance 8086)
- 打开相关代码
- 操作第一个instance,触发第二个instance设定的断点
DEBUG 一些异常的行为
- 按键开始还按期望行为, 然后失灵:
<space>sk看看keymapping的变化(同一个key可能会有很多种映射)
-
LSP in other documents.
https://github.com/jmbuhr/otter.nvim -
fast wrap (类似 https://github.com/jiangmiao/auto-pairs), 但是 "echasnovski/mini.pairs" 没有提供类似的功能
-
strip spaces in selection in vim (to better apply GPT to specific scope)
-
Try documentation generation, sometimes doge-gen does not work well.. https://github.com/danymat/neogen
-
renaming folder in neotree in Python project: https://github.com/alexpasmantier/pymple.nvim
-
Attach to a docker dap-server: maybe we can replace the project prefix or creating link?
-
https://github.com/andrewferrier/debugprint.nvim # Debug print 更方便一点
The neovim configuration is based on LazyVim and may be useful for Python users. In addition to the raw LazyVim, the following features and plugins have been added.
- Python-LSP
- Pyright, Full formatting and range formatting,
- 默认的行为已经很好了,不要轻易调整(默认config变动,可能会花大量的时间测试);调整时注明详细的原因
- 注释掉所有plugins, 看看行为是否正常
# We should follow next steps
# 1. https://github.com/enterprises/microsoft
# 2. `:Copilot auth`, and then open https://github.com/login/device for authentication
# - sometimes it does not work (on my WSL of my borrowed equipment) due to unknown issues.