firefox-easy-container-shortcuts icon indicating copy to clipboard operation
firefox-easy-container-shortcuts copied to clipboard

Replace current tab with given container: Ctrl (Cmd) + Alt + # Issue

Open kailun18 opened this issue 2 years ago • 4 comments

Bizarrely, this works in general except for number 4.

So it doesn't work when I press CTRL+ALT+4. It doesn't seem related to whatever I've named slot 4 container tab or anything like that because if I switch it to number 5,6,7,8 or any other number, it works.

Also, I take it there's no solution for going past 9?

kailun18 avatar Oct 07 '21 10:10 kailun18

Welcome to the Firefox Easy Container Shortcuts community! Thanks so much for creating your first issue, we'll get back to you ASAP!

github-actions[bot] avatar Oct 07 '21 10:10 github-actions[bot]

@kailun18 Any chance you have changed the keyboard language settings to be different to what the original keyboard was designed for? I am using a US laptop with English UK keyboard settings and Ctrl + Alt + 4 enters a € symbol when a text field is focused and can't be used for shortcuts. If I change the language settings to English US the problem stops. Instead of changing the language settings you could map Ctrl + Alt + 4 in AutoHotKey to a shortcut you're not using (Ctrl + Alt + B in example below). Then go to 'Manage Extension Shortcuts' menu > 'Easy Container Shortcuts' > 'Reopen the current tab on the fourth non-default container'. Type Ctrl + Alt + 4 -> keys you've mapped to will be entered in the box. Now you can type Ctrl + Alt + 4 on your keyboard to execute the shortcut.

^!4::^!b
return

ghost avatar Dec 15 '21 14:12 ghost

Thanks for your follow-up @lauriebatchelor , what you say is correct: some languages might have some of these shortcuts reserved to e.g. the € sign. That's specifically my case too, and what happens is that if I'm on a textbox, the € sign is inserted and then immediately a new tab is opened as well.

To avoid this you can map the shortcuts to something else in the Firefox settings - see the "Custom Shortcuts" section in the main README.md file in this repo.

I'm open to supporting more slots beyond the basic 9 that we offer, but the problem is that the way this plugin is written (using the native Firefox shortcuts system) each slot must reserved in advance. So we reserved only 9. If you need more then please feel free to suggest an approach so we can validate it, and then you or someone else from the community can submit the PR to implement it!

gsomoza avatar Dec 15 '21 14:12 gsomoza

Any chance you have changed the keyboard language settings to be different to what the original keyboard was designed for?

I had the same problem, thanks for this. =) Recently I change the keyboard layout and the new layout had some character mapped to Ctrl+Alt+#Number Since I don't use those characters I remove them with Keyboard Layout Creator and now works like normal.

And by the way, thank you very much for this Firefox extension, it's really useful to me.

edgartaor avatar May 30 '22 23:05 edgartaor