GitHub - dbordak/telephone-line: A new implementation of Powerline for Emacs
source link: https://github.com/dbordak/telephone-line
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.
readme.org
Telephone Line
For more information on how to get those screenshots, check out the examples.
Features
Telephone Line is a new implementation of Powerline for emacs with (optional) baked-in evil support, antialiased separators, and an easy configuration language which makes it trivial to write your own themes. Additionally, I dogfood the hell out of it so bugfixes should come quickly. It’s also named after a song which is what I always look for in software.
Installation
The easiest way to install telephone-line is with package.el through MELPA. Once you have the package installed, initializing it is the usual stuff:
(require 'telephone-line) (telephone-line-mode 1)
If you want to use it with evil, instead you should do this
(require 'telephone-line-config) (telephone-line-evil-config)
This implicitly calls (telephone-line-mode 1)
.
Separator Gallery
abs
cubed
identity
sin
halfsin
cos
halfcos
tan
gradient
There is also a perfectly flat vertical separator,
telephone-line-flat
, though there’s not much to look at here ;)
Configuration
First, remember that all configuration must be done before calling
(telephone-line-mode 1)
Segments can be added by configuring the telephone-line-lhs
and
telephone-line-rhs
variables. Example configuration demonstrating
the format can be found in ./examples.org, and available segments are
in ./telephone-line-segments.el. You can also make your own!
Separators are chosen by configuring
telephone-line-primary-left-separator
,
telephone-line-primary-right-separator
,
telephone-line-secondary-left-separator
, and
telephone-line-secondary-right-separator
. Available separators are
in ./telephone-line-separators.el. You can also make your own!
You can force the height of the mode-line by setting
telephone-line-height
.
If you want to further information on configuration or creating your own segments/separators, continue on to ./configuration.org!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK