Hi I use firefox on Linux and want to change to the first, second, third, ..., last tab with ctrl+1/2/3/.../9 instead of alt+1/2/3/.../9 because alt is already mapped to changing desktops. any idea how I could accompilish this?
edit1: I use mac and windows at work and there the shortcuts are ctrl+<number>. It would be so nice to have consistent shortcuts 🐧
[SOLUTION] install ctrl+number extension recommended by @TobuscusLover2001@lemmy.zip
15 Comments
TobuscusLover2001@lemmy.zip · 2 pts · 50d
Sorry I realised I misread your post. It's strange your keybinds on Linux to change tabs are alt+num? For me, its Ctrl+num... and i think this is the default. The most likely reason is either:
check if the alt/ctrl switch persists outside Firefox.
yaw@infosec.pub · 1 pts · 48d
This is really weird. I'll have to check on a different distro. I'm currently on fedora and firefox was already installed.
--safe-modeand got the same behavior. But thanks helping me trouble shoot.Emperor@reddthat.com · 2 pts · 48d
I have vimium which lets me set vim like key binds for firefox. It only works once the JS has loaded on a page so default screens like the new tab doesn't work. Other than that, it should let you rebind it to whatever you want, you can disable the other keys yoy don't need.
yaw@infosec.pub · 1 pts · 48d
nice one, I already use vimium and there are command to go to the first and the last tab but not the 2nd to 8th tab, but this is already quite a solid work around thanks!
Emperor@reddthat.com · 1 pts · 48d
you can use g + n to go to the numbered tab, or shift + t to search existing tabs. they maybe be more shortcuts that you prefer.
vimium should completely sidestep your issue.
yaw@infosec.pub · 1 pts · 46d
I can't seem to find the command: only
g0(firstTab) andg$(lastTab) : https://vimium.github.io/commands/#tabsEmperor@reddthat.com · 2 pts · 45d
have you tried g2? or even relative commands like 2gt to go 2 tabs over?
yaw@infosec.pub · 1 pts · 43d
yeah,
g2does nothing.... it's also not mentioned in the docs.2gt,gT,Jand2Kwork as expected but are relative. Do you have version 2.4.2 too?Emperor@reddthat.com · 2 pts · 34d
This didn't work for me either, sorry I should have checked. Turns out it was this for me: https://github.com/philc/vimium/issues/4053
You can use vimium c with
map g3 runKey keys="g1+2K"if you want to keep RFP.yaw@infosec.pub · 2 pts · 29d
okay, I don't know what it is, but ctrl+{1,2,...,9} now works as expected ....
Vincent@feddit.nl · 1 pts · 50d
I think it's just a preview feature, so it's not accessible through a normal menu yet I think, but if you type
about:keyboardin the address bar and press Enter, I think it will allow you to remap these (under the Navigation section).BussyGyatt@feddit.org · 1 pts · 50d
yaw@infosec.pub · 1 pts · 50d
This article by firefox didn't help because the action/shortcut/hot key was not shown ...
TobuscusLover2001@lemmy.zip · 2 pts · 50d
Try this: https://addons.mozilla.org/en-US/firefox/addon/ctrl-number-to-switch-tabs/
If it doesnt work, your best option is to either find another extension that does. or bite the bullet and configure a key remapper like keyd and make a "layer" to toggle the bind alt+(num) to ctrl+(num).
yaw@infosec.pub · 1 pts · 48d
this extension worked!!! Thanks
yaw@infosec.pub · 1 pts · 50d
shortkeys doesn't install (maybe because I'm on ARM?). The error is
Installation aborted because the add-on appears to be corrupt.