-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve default operation of ^D
on macOS
#9643
Comments
你好,默认的 Ctrl+D 快捷键应该是重复块吧? |
打开开发者工具发现按完ctrl-d再回车,出现null报错,如下图 @88250 |
收到,稍后 @Vanessa219 排查看看。 |
我对段落块操作是正常的,是有什么特殊的操作么? QQ20231114-223148-HD.mp4 |
不是段落块呢,我报的是列表块使用Ctrl-d后异常。 @Vanessa219 |
抱歉,按照正文
QQ20231115-112339-HD.mp4 |
请问录屏环境是Win还是Mac呢? @Vanessa219 你这里看起来是ctrl-d绑定了“重复”,但macOS“重复”默认是cmd-d,而ctrl-d是未绑定的,默认行为是delete。 Line 283 in 99b3c7e
|
哦,macOS 中 那把 |
没有太看懂,这是需要code fix吗?
|
那 按照以上修改的话,在快捷键设置中就无法将快捷键设置为 |
^D
on the Mac
这个是为了和在 2 前面 |
^D
on the Mac^D
on macOS
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
macOS下编辑列表时候如果使用Ctrl-d,会导致如下<异常1>和<异常2>。
比如:
此时,如果想删除item2,挪动光标到item1后,按Ctrl-d,此时列表变成如下形式,出现<异常1>的空白行
然后,在<光标>位置继续按回车,出现<异常2>列表没变化,item2也无法回到原来位置,并且 Cmd-z 也无法undo。
Expected result
如果光标位置Ctrl-d删除,再enter回车,列表能够复原。
此时,按Ctrl-d
再按回车,列表复原
Screenshot or screen recording presentation
No response
Version environment
Log file
编辑期间的log看起来没有异常
More information
No response
The text was updated successfully, but these errors were encountered: