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

[FR] 为删除一个时间戳添加命令支持 #292

Open
XMB-7 opened this issue Mar 15, 2024 · 2 comments
Open

[FR] 为删除一个时间戳添加命令支持 #292

XMB-7 opened this issue Mar 15, 2024 · 2 comments
Labels
discuss Discussion about the functionality or bugs related to the media plugin, with a focus on discussion.

Comments

@XMB-7
Copy link

XMB-7 commented Mar 15, 2024

如题, 目前添加时间戳很方便, 给命令设一个快捷键就好, 但如果添加时间戳反悔, 此时想删掉光标之前的一个时间戳并接着再添加一个新的时间戳 (比如刚添加了一个, 视频往后再听个两三秒, 发现更应该在这里添加), 就相对麻烦了, 需要手动划选然后删除. 在观看视频时, 这种情况往往多次发生, 每次都手动操作也比较打断思路.

所以不知能否新增一个删除光标之前的一个时间戳的命令, 用正则匹配然后删除不知道行不行.

@aidenlx
Copy link
Member

aidenlx commented Mar 16, 2024

要不你先试试删除段落之类的命令?mac上有删除光标前文本的快捷键,不知道win上有没对应的

@aidenlx aidenlx added wontfix This will not be worked on discuss Discussion about the functionality or bugs related to the media plugin, with a focus on discussion. and removed wontfix This will not be worked on labels Mar 16, 2024
@XMB-7
Copy link
Author

XMB-7 commented Mar 16, 2024

我的视频笔记结构往往类似于

所以直接删掉时间戳所在段落是不行的. 目前我是选中段落, 然后正则匹配末尾的[xxx](xxx)把它替换为空. 但因为这样经常需要来回变动正则插件的设置, 所以感觉还是比较麻烦 (默认的正则替换是用来干别的事的). 因此如果直接能支持就最好不过了.
另外我记得之前在论坛里好像见有人提过过哪个插件是能直接选中光标所在的链接的, 但找了一圈没找到.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Discussion about the functionality or bugs related to the media plugin, with a focus on discussion.
Projects
None yet
Development

No branches or pull requests

2 participants