stsquad / emacs_chrome

A Chromium/Firefox "clone" of It's All Text for spawning an editor to edit text areas in browsers. Based on David Hilley's original Chromium extension.

Home Page:https://chrome.google.com/extensions/detail/ljobjlafonikaiipfkggjbhkghgicgoh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configurable shortcut

skybert opened this issue · comments

Hitting Alt + Enter doesn't work on my system (don't know if it's i3, the website or Firefox which grabs it) and I would therefore like to specify another shortcut that I'm sure on my desktop.

In my case (i3, Firefox, on Linux) it works.

  • Did you activate "Enable Alt-Enter Keyboard shortcut to invoke editor" in the extension preferences?
  • Does clicking on the icon work?

Something has changed, don't know what. This works for me now using i3, Firefox on Linux:

  • github issue comment 👍
  • Bitbucket PR comment 👍

However, one of the apps I can't live without, doesn't:

  • Jira comment 👎
  • Jira issue description: 👎

I assume it's Jira that grabs it, so I need a way to configure the shortcut 🤔

In #168 it was pointed out that configuring the Activate Extension keyboard shortcut in Chrome's keyboard shortcut UI triggers the extension. I've pushed a test branch to try and clean this up and make both editing and foregrounding Emacs easier.

I haven't been able to find out where to customize the keyboard shortcut. I also haven't been able to get "Option+Enter" (I'm on macOS) to work anywhere yet. Double click and clicking the "edit" button work though!

So with the branch: https://github.com/stsquad/emacs_chrome/tree/ui/use-chrome-shortcuts you should find Keyboard shortcuts on the chrome://extensions/ page under the burger toolbar in the top left corner.

Oh, so do I need to check out that branch, build the extension, and install it from my local copy then?

Check out the branch and then just select "Load Unpacked" extension and point it at the directory. No building should be required.

Ok that did it! Thanks so much for your help.

If it's working well for you let me know and we can merge the branch for the next release.

It is working! The only "gotcha" I faced was that I needed to refresh pre-existing tabs before I could use the keyboard shortcut. Once I did that, everything worked fine.

OK I've merged that branch to master so it will be in the next release.