We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I stop firefox from closing tabs with Ctrl+w?

  • 2 replies
  • 1 has this problem
  • 14 views
  • Last reply by ndvo

more options

In shell and some editors (i.e. vim) Ctrl+w is the shortcut for deleting the preceding word when you are typing. It is, sure, OK that the shortcuts in Firefox are different, but it closes the tab when I press it and this makes me loose lot's of text already typed in forms.

I'd like to change this shortcut, but can't find a way to do it.

In shell and some editors (i.e. vim) Ctrl+w is the shortcut for deleting the preceding word when you are typing. It is, sure, OK that the shortcuts in Firefox are different, but it closes the tab when I press it and this makes me loose lot's of text already typed in forms. I'd like to change this shortcut, but can't find a way to do it.

Chosen solution

Hi ndvo,

I understand that you wish to change the default shortcut to close tabs (Ctrl + W) to something else.

Please take a look at the add-on Customizable Shortcuts. It has very good ratings and appears to work well.

I hope this information helps you. Please let us know if your problem persists, or if you have any other questions.

And by the way, thanks for helping a Firefox user on the other thread, and welcome to SUMO! :D

Cheers!!

- Ralph

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

Hi ndvo,

I understand that you wish to change the default shortcut to close tabs (Ctrl + W) to something else.

Please take a look at the add-on Customizable Shortcuts. It has very good ratings and appears to work well.

I hope this information helps you. Please let us know if your problem persists, or if you have any other questions.

And by the way, thanks for helping a Firefox user on the other thread, and welcome to SUMO! :D

Cheers!!

- Ralph

more options

Thank you Ralph!

It worked perfectly. Better yet, it allows me to set other shortcuts to something I am more familiar with.