Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuhdo/xwidgete
Enhance usability for Xwidget browser in Emacs 25
https://github.com/tuhdo/xwidgete
Last synced: 3 months ago
JSON representation
Enhance usability for Xwidget browser in Emacs 25
- Host: GitHub
- URL: https://github.com/tuhdo/xwidgete
- Owner: tuhdo
- License: gpl-3.0
- Created: 2016-07-18T12:03:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-18T21:17:42.000Z (about 7 years ago)
- Last Synced: 2024-08-02T01:26:14.629Z (6 months ago)
- Language: Emacs Lisp
- Size: 2.05 MB
- Stars: 68
- Watchers: 8
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* Description
This package makes Xwidget browser in Emacs 25 behaves more like a normal
browser, with Emacs key bindings. At the moment, interacting with Xwidget
browser is rough. For example, to enter something input a textbox:- First, put cursor in the text box.
- Press =RET=. A prompt appears in minibuffer area waiting for new input.
- Enter whatever you want.
- Press =RET=. Now, text appears in text box.With this package, you will be able to enter text directly into a textbox and
navigate a web browser more effectively.* Features
Key bindings:
| Key | Description |
|---------------+-------------------------------|
| C-f | Move cursor 1 character right |
| C-b | Move cursor 1 character left |
| C-a/Home | Beginning of line |
| C-e/End | End of line |
| C-v/Page Down | Page Down |
| M-v/Page Up | Page up |
| C-k | Kill to end of line |
| Down | Scroll 1 line down |
| Up | Scroll 1 line up |
| M-w | Copy text |
|---------------+-------------------------------|* Demo
** Text input
+ Before (notice minibuffer area):
[[file:demo/emacs_watch_youtube.gif][demo/emacs_watch_youtube.gif]]+ After:
[[file:demo/emacs_xwidget_insert_chars.gif][demo/emacs_xwidget_insert_chars.gif]]** Copy text:
+ Before:
[[file:demo/emacs_xwidget_copy_text_old.gif][demo/emacs_xwidget_copy_text_old.gif]]+ After:
[[file:demo/emacs_xwidget_copy_text_html.gif][demo/emacs_xwidget_copy_text_html.gif]]* Limitations
- You cannot send request with `RET`; to send one, you have to press a button.
I haven't figured out how to do it. Patch welcome.- You can only insert one space character. For some reason, the textbox in
current Xwidget only limit to one space character in between other characters,
no matter how many you insert. If you try the original input method described
at the beginning and enter as many space characters and feed it to the
textbox, the next tiem you press `RET`, every space character is trimmed
except one.- Copied text has no space indentation as in original content. But at least it
preserves newlines. Without this package, not even newlines are preserved.