mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 04:53:44 -05:00
Duplicate the cloneSelectionVertically key mapping to re-allow Ctrl on macOS (#12918)
GitOrigin-RevId: 747e8889b5e3b34dd9ffef888f4a1d42fea1af74
This commit is contained in:
parent
2093d85a5f
commit
680a02892c
1 changed files with 21 additions and 0 deletions
|
@ -124,6 +124,27 @@ export const shortcuts = () => {
|
|||
preventDefault: true,
|
||||
run: cloneSelectionVertically(true, false),
|
||||
},
|
||||
// duplicates of the above commands, allowing Ctrl on macOS for backwards compatibility
|
||||
{
|
||||
mac: 'Ctrl-Alt-ArrowUp',
|
||||
preventDefault: true,
|
||||
run: cloneSelectionVertically(false, true),
|
||||
},
|
||||
{
|
||||
mac: 'Ctrl-Alt-ArrowDown',
|
||||
preventDefault: true,
|
||||
run: cloneSelectionVertically(true, true),
|
||||
},
|
||||
{
|
||||
mac: 'Ctrl-Alt-Shift-ArrowUp',
|
||||
preventDefault: true,
|
||||
run: cloneSelectionVertically(false, false),
|
||||
},
|
||||
{
|
||||
mac: 'Ctrl-Alt-Shift-ArrowDown',
|
||||
preventDefault: true,
|
||||
run: cloneSelectionVertically(true, false),
|
||||
},
|
||||
{
|
||||
key: 'Ctrl-Alt-ArrowLeft',
|
||||
preventDefault: true,
|
||||
|
|
Loading…
Reference in a new issue