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

coc-todo-tree 中文说明 #27

Open
hexh250786313 opened this issue Dec 6, 2022 · 0 comments
Open

coc-todo-tree 中文说明 #27

hexh250786313 opened this issue Dec 6, 2022 · 0 comments
Labels
post blog post type: POST

Comments

@hexh250786313
Copy link
Owner

hexh250786313 commented Dec 6, 2022

不要点开, 博客网站用的
博文标题图片

pic

博文置顶图片

pic

博文置顶说明
coc-todo-tree 是 vscode-todo-tree 在 coc 上的实现, 本文是简体中文说明

coc-todo-tree

源码: https://github.com/hexh250786313/coc-todo-tree

coc-todo-tree 是基于 coc.nvim 的 todo tree 实现

灵感来自 vscode-todo-tree

安装

请先确保你的 vim 已经安装了 coc, 然后执行以下指令即可安装 coc-todo-tree

:CocInstall coc-todo-tree

使用

在 vim/neovim 中执行以下指令即可打开 todo-tree 面板:

:CocCommand coc-todo-tree.showTree

功能

  • 使用了 coc-tree, 可以让工作区中的 @todo / FIXME 等 tag 以树形样式呈现
  • 默认使用 ripgrep 来进行搜索
  • 可以自定义你的 tag 名字 / 图标 / 高亮 / 匹配正则等
  • 样式控制: 参考了 vscode-todo-tree, 你可以通过按大写 C 来在三种展示样式中切换: tags-only / flat / tree-view, 同时可以通过按小写的 c 来进行 tag group 归类

配置

所有配置: https://github.com/hexh250786313/coc-todo-tree/blob/master/.vim/coc-settings.json

@hexh250786313 hexh250786313 added the post blog post type: POST label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
post blog post type: POST
Projects
None yet
Development

No branches or pull requests

1 participant