為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 1 有這個問題
  • 14 次檢視
  • 最近回覆由 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.

被選擇的解決方法

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

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

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.