https://github.com/nemethf/select-screen-window
Incremental search for window selection of GNU Screen
https://github.com/nemethf/select-screen-window
gnu-screen
Last synced: about 2 months ago
JSON representation
Incremental search for window selection of GNU Screen
- Host: GitHub
- URL: https://github.com/nemethf/select-screen-window
- Owner: nemethf
- License: gpl-3.0
- Created: 2022-10-11T13:00:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-13T19:34:24.000Z (over 2 years ago)
- Last Synced: 2025-02-01T04:14:55.341Z (4 months ago)
- Topics: gnu-screen
- Language: Emacs Lisp
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Incremental search for window selection of GNU Screen
This program implements an alternative window selection functionality
to [GNU Screen][screen]. It provides incremental search by relying on
the `completing-read` functions of [Emacs].# Installation
You can enable `ssw` by creating a shortcut in your `~/.screenrc`.
For example:```
bind b screen $HOME/src/ssw
````ssw` starts Emacs as a sub-process, but it should start reasonably
fast because it does not read the user's init file. If that's not
fast enough and there's a running Emacs daemon, which has already
loaded ssw.el, then this might work as well:```
bind b screen $HOME/src/ssw-emacsclient
```# Demo

# Emacs
Since the incremental window selection method is implemented in Emacs,
`ssw` has a very simple screen library. Based on it `ssw` provides a
new command for Emacs users: `ssw-insert-window` inserts the content
of a screen window into an Emacs buffer.# License
[GPLv3+][gpl]
[gpl]: COPYING
[screen]: https://www.gnu.org/software/screen/
[Emacs]: https://www.gnu.org/software/emacs/