Open
Conversation
… support root user; working on docker mode
…tter compatibility; added musl-cross files; added upx to compress built files 👀
format and add configration for fzf, meanwhile changing compile command
add new type of output to pass to fzf preview
Owner
|
@Qiumix 我这几天看下 |
Author
|
基本是vibe然后人工review,看着没啥大问题就commit的,写的不是很优雅。直接sql查所有的单词然后传给fzf实现的,本来想着是shell里管道给fzf然后fzf在preview里调kd,但是有点麻烦,得写脚本才能用,就改成现在的方案了
性能还行,time了一下,在开了守护进程的情况是100多ms到fzf的界面(环境是跟你一样的天选5p+arch),我用了几天体验也还可以,没啥大问题,就是fzf不在PATH的时候的报错还是哪个报错我忘了,会打印两遍
然后preview那块重写了一个打印函数,原本的直接给fzf用有点问题,因为有个打印的横线会调用当前终端宽度但是fzf的预览的宽度只有一半,现在一想微调一下原来的函数其实就行了,然后目前preview还有个会显示打印换行的问题,我没怎么研究过fzf就凑合了
如果看着不行的话就直接关了吧,看了看你代码似乎没怎么用ai,感觉直接vibe有点不太负责🥲我因为刚刚从windows迁移到linux桌面,没有欧路词典用就突发奇想搞一下kd的fzf的,看了下readme刚好也有就搞完然后pr了
|
Owner
|
@Qiumix hahaha没用vibe是因为刚写这个项目的时候还没学会用AI😂,我后续会验证一下再merge,谢谢支持🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--fzfflagkd.tomlREADME.md