2015-12-21 11:26:39 +01:00
|
|
|
#+TITLE: mode-icons
|
|
|
|
#+DATE: Monday, Dec 21 2015
|
|
|
|
#+STARTUP: content
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
Show icons instead of mode names in emacs.
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
[[https://raw.githubusercontent.com/rhoit/mode-icons/dump/screenshots/screenshot01.png]]
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2016-02-21 14:54:15 +01:00
|
|
|
Some of the modes that have icons instead of names now:
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-22 04:17:09 +01:00
|
|
|
| Modes | icon |
|
|
|
|
|------------+--------------------------------------------------------------------------|
|
2015-12-23 11:06:49 +01:00
|
|
|
| Coffee | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/coffee.png]] |
|
2015-12-22 04:17:09 +01:00
|
|
|
| CSS | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/css.png]] |
|
|
|
|
| Emacs-Lisp | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/emacs.png]] |
|
2015-12-23 11:06:49 +01:00
|
|
|
| Haml | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/haml.png]] |
|
2015-12-22 04:17:09 +01:00
|
|
|
| HTML | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/html.png]] |
|
|
|
|
| JS | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/js.png]] |
|
|
|
|
| Lisp | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/cl.png]] |
|
|
|
|
| Org-mode | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/org.png]] |
|
|
|
|
| PHP | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/php.png]] |
|
|
|
|
| Python | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/python.png]] |
|
2015-12-23 11:06:49 +01:00
|
|
|
| Ruby | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/ruby.png]] |
|
2015-12-22 04:17:09 +01:00
|
|
|
| SVG | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/svg.png]] |
|
2015-12-23 11:06:49 +01:00
|
|
|
| Sass | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/sass.png]] |
|
2015-12-22 04:17:09 +01:00
|
|
|
| Scheme | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/scheme.png]] |
|
|
|
|
| Shell | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/bash.png]] |
|
2015-12-23 11:06:49 +01:00
|
|
|
| Slim | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/slim.png]] |
|
|
|
|
| YAML | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/yaml.png]] |
|
2015-12-22 04:17:09 +01:00
|
|
|
|
2016-02-21 14:54:15 +01:00
|
|
|
* Requirements
|
2015-12-22 04:17:09 +01:00
|
|
|
|
2016-02-21 14:54:15 +01:00
|
|
|
As of version 0.3.0 you can also use icons from some icon fonts,
|
|
|
|
specifically:
|
|
|
|
|
|
|
|
- [[http://fontawesome.io/][Font Awesome]]
|
|
|
|
- [[https://octicons.github.com/][GitHub Octicons]]
|
|
|
|
- [[http://fizzed.com/oss/font-mfizz][Font Mfizz]]
|
|
|
|
|
|
|
|
You need to have installed these on your system in order to use
|
|
|
|
these fonts, mode-icons will not do this for you. If you don't have
|
|
|
|
them installed you may get some strange glyphs in your mode-line
|
|
|
|
instead.
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
* Installation
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
** manually
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
Place ~mode-icons.el~ somewhere in your =load-path= and copy the
|
|
|
|
~icons/~ directory there as well. Then =require= ~mode-icons~ in your
|
|
|
|
[[http://gnu.org/software/emacs][Emacs]] init file.
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
* Usage
|
2013-06-02 14:14:58 +02:00
|
|
|
|
2015-12-21 11:26:39 +01:00
|
|
|
Once installed you can add =(mode-icons-mode)= to your init file.
|