搜尋 Mozilla 技術支援網站

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

Learn More

Command-left, command-right keyboard shortcuts not working in Gmail on Mac

  • 3 回覆
  • 9 有這個問題
  • 707 次檢視
  • 最近回覆由 jscher2000

more options

Command-left, command-right keyboard shortcuts for moving to the end and beginning (home) of each line does not work.

This feature works in Safari, Opera, Chrome and every other configuration, but not Firefox.

It also works in other text editors, such as Facebook, but not Gmail. This is pretty irritating, and means I have to use another browser before I go crazy trying to write emails.

This has been detailed extensively in another thread here, and was marked as solved, even though it is quite clearly not solved. Help is appreciated. https://support.mozilla.org/en-US/questions/767732

所有回覆 (3)

more options

You have researched this well. A bug has been filed for this, as I think you may have noticed (just guessing from your username): Bug 341886 – Cmd/Command+Left/Right does not move caret at Gmail in rich formatting mode.

You might be able to override Google's script, but then because a rich editor is not actually a form control, Firefox probably would navigate back one page. You might need to edit the key bindings, too. I think the technique for that was mentioned in the bug or the other thread. It also was discussed in this one: Making the Home/End keys work on Mac like they do on Windows/Linux.

more options

Thanks for the help. Upon researching it led me again to the Macworld article here: http://hints.macworld.com/article.php?story=20070320214340628

I tried again the method of unpacking the omni.ja file in the Firefox.app, as detailed there, but had to unzip using:

unzip omni.ja -d /a directory of your choosing

…replaced the platformHTMLBindings.xml file with the one from Macworld, and then I rejar-red using:

jar cvf omni.ja /a directory of your choosing

but when replaced this new file in Firefox.app it crashed on load, so I don't know where the problem is.

more options

That article is 5 years old now. You might have better luck just looking for specific bindings to change. I'm a Windows user, so can't test very well.