Skip to content

xuchunyang/edit-chrome-textarea.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edit Chrome Textarea

Melpa

This is an Emacs package for editing Chrome textarea through Chrome DevTools Protocol.

Usage

To use this package, you need to enable Chrome DevTools Protocol by launching Chrome with --remote-debugging-port=9222, if you are on macOS, you can use

$ open -a Google\ Chrome --args --remote-debugging-port=9222
  1. Select the textarea you want to edit in Chrome
  2. Switch to Emacs, type M-x edit-chrome-textarea to open a buffer pre-filled with the textarea's content
  3. Hit C-c C-c to send text in current buffer back to Chrome or C-c C-k to discard

Alternatives

Comparison with atomic-chrome

Pros:

  • Don't need to install a browser extension

Cons:

  • Users need to enable Chrome DevTools Protocol
  • Edit-chrome-textarea can't sync between Chrome and Emacs on-the-fly (it's possible with Chrome DevTools Protocol but beyond my skills)
  • Edit-chrome-textarea can't understand editable div such as CodeMirror used by GitHub (it's also possible but beyond my skills)

Requires

About

Edit Chrome Textarea with Emacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published