GitHub - rocher/elscreen-fr: Put (el)screen titles on window frame
source link: https://github.com/rocher/elscreen-fr
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
elscreen-fr
This code is an extension of
the elscreen
mode that uses your
window title (Emacs frame name) to show the tabs/screens of
elscreen
.
Usage
Mostly the same as elscreen
:
(require 'elscreen-fr) ;; was (require 'elscreen)
(elscreen-fr-start) ;; was (elscreen-start)
You can Keep the same elscreen
customization variables, but some of
them will no take effect. These variables are:
elscreen-display-screen-number
elscreen-display-tab
elscreen-tab-display-control
elscreen-tab-display-kill-screen
All are set to nil when elscreen-fr
is started.
Customization
Useful keys to change from tab to tab, as in most user interfaces using tabs:
(global-set-key [(control prior)] 'elscreen-previous)
(global-set-key [(control next)] 'elscreen-next)
The customization group lets you tweak few parameters.
Example
This is the first screen after Emacs startup.
Open several tabs
Once elscreen-fr
has been started, use it as you would use
elscreen
. See how opening new screens with different buffers on
them change the window title.
The current screen is shown between square brackets:
Now select the first one again,
and open customomize-group
Customization
You can use numbers or nicknames instead of the default name:
And also a custom window title prefix instead of the default frame name:
If you consider scren names are too long when the list of buffers is shown, you can limit the maximum length shown:
Finally
Tested only under Linux / Gnome. Feedback welcome!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK