Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project picker 中最新访问过的 project 靠前 #25

Open
daishengdong opened this issue May 9, 2024 · 4 comments
Open

project picker 中最新访问过的 project 靠前 #25

daishengdong opened this issue May 9, 2024 · 4 comments

Comments

@daishengdong
Copy link

daishengdong commented May 9, 2024

  1. 目前的行为是 picker 中的 project 按照添加时的顺序展现,可以将 project 按照最新访问时间排序
  2. 另外可以考虑添加使用 "nvim ." 命令打开的路径自动添加至 project,本来我是准备自己撸这个插件的,但在 B 站上关注了林饕,准备过来参考一些代码,发现已经有 project 管理插件了,有些细节可以考虑要不要再优化一下:
    image
@LintaoAmons
Copy link
Owner

目前的行为是 picker 中的 project 按照添加时的顺序展现,可以将 project 按照最新访问时间排序

这个我写的 bookmark (都是增删改查)插件就有这个效果,现在有点懒了,可以加...

另外可以考虑添加使用 "nvim ." 命令打开的路径自动添加至 project

要不你直接写个PR进来 ,嘿嘿

@daishengdong
Copy link
Author

目前的行为是 picker 中的 project 按照添加时的顺序展现,可以将 project 按照最新访问时间排序

这个我写的 bookmark (都是增删改查)插件就有这个效果,现在有点懒了,可以加...

另外可以考虑添加使用 "nvim ." 命令打开的路径自动添加至 project

要不你直接写个PR进来 ,嘿嘿

哈哈哈哈哈,我就是懒才指望你啊

@LintaoAmons
Copy link
Owner

可以,等哪天有空了就写,嘿嘿

@LintaoAmons
Copy link
Owner

路径自动添加至 project
这个 commit, b115ede
我没有按照你的那个方法来实现,搞了个简单地够用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants