mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #773] Can't use ctrl-c to copy text in Vim binding mode #403
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#403
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HineBlack on GitHub (Jan 27, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/773
Current behavior
I just switched from old Boostnote, and found I can's use
ctrl+cto copy text into clipboard, which has been solved in old Boostnote issue #646.Expected behavior
ctrl+cshortcutEscinstead ofctrl+cto exit insert mode, in old Boostnote you can copy text withctrl+cbut it also exit insert mode, which is a little annoy for me.Steps to reproduce
yto yank them, but it's not show in clipboardEnvironment
Desktop/Web
IssueHunt Summary
Backers (Total: $20.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
@Rokt33r commented on GitHub (Aug 20, 2021):
The issue is still existing in Windows and Linux. It works fine in macOS since its copying shortcut is using
Super(Cmd) + Cinstead ofCtrl + C.How to fix
Just like the below link, adding an extra key should fix the issue.
https://github.com/BoostIO/Boostnote/pull/649/files#diff-7890cda3f01d76c730b641b51aca870a682d84971add9f45e9e22fc9cac46dc1R88-R93
Adding the code above to here should fix this issue.
@Komediruzecki commented on GitHub (Aug 20, 2021):
@Rokt33r
But does that mean that
ctrl+ccannot really be used as an exit? Since some users might want to use this shortcut instead of escape.I suppose it would be best to add a custom keymap for a copy so that users can use the default copy in VIM mode but also change it if they prefer exiting with that shortcut (or unset it).
I can easily add this to local space since it already has the implementation of keymaps, but for cloud, probably once it's ported?
Or if we want the fix straight away, as suggested?
@issuehunt-oss[bot] commented on GitHub (Sep 14, 2021):
@boostio has funded $20.00 to this issue.