Skip to content

change duplicateRecord sortcut Ctrl+Shift+D#3849

Open
dhdeangelis wants to merge 1 commit into
sqlitebrowser:masterfrom
dhdeangelis:newKeyboardShortcutDuplicateRecord
Open

change duplicateRecord sortcut Ctrl+Shift+D#3849
dhdeangelis wants to merge 1 commit into
sqlitebrowser:masterfrom
dhdeangelis:newKeyboardShortcutDuplicateRecord

Conversation

@dhdeangelis

Copy link
Copy Markdown

Changed shortcut for duplicate record, from " Ctrl + " " to "Ctrl + Shift + D". Tested OK.

@mgrojo

mgrojo commented Jan 23, 2025

Copy link
Copy Markdown
Member

The shortcut was selected because it is the same one used in Excel for duplicating rows.

Ideally, this should be done detecting if the shortcut is ambiguous in the user keyboard layout.

If that isn't possible, I'd rather remove the "Ctrl+Shift+2" shortcut, rather than this one.

@dhdeangelis

dhdeangelis commented Jan 23, 2025

Copy link
Copy Markdown
Author

I see. I have only two keyboards. In both, Ctrl+" would have to be done doing Ctrl+Shift+2. No idea how to implement a detection of ambiguity, even less one that is general enough for many keyboards. The proposal of Ctrl+Shift+D is intuitive, simple to remember, easy on the fingers (only left hand) and is not used by any other command in sqlitebrowser. It is also unambiguous. I am using it in my local instance and I believe it works well.

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

Successfully merging this pull request may close these issues.

2 participants