4 ms·
Emacs has its own version of powerline. You can turn off most of the annoying frills like the menu bar, the scroll bars, the toolbar and the fringe. You can als
by tikhonj 13y ago
Emacs has its own version of powerline. You can turn off most of the annoying frills like the menu bar, the scroll bars, the toolbar and the fringe. You can also use a nice typeface (I'm very partial to Deja-vu Sans Mono) and a nice color scheme (I like blackboard).
I think the final result looks rather good: http://jelv.is/emacs-blackboard.png http://jelv.is/emacs-blackboard.png and http://jelv.is/emacs-demo.png http://jelv.is/emacs-demo.png.
- terhechte 13y agoThat looks nice, do you have the config for that available somewhere? Thanks!
- tikhonj 13y agoMy actual .emacs file has a ton of things unrelated to this, so here are the relevant bits: ;; Make the window simpler (tool-bar-mode -1) (scroll-bar-mode -1) (menu-bar-mode -1) (fringe-mode 0) Powerline and the color theme are installed separately. You can get powerline using the new package manager through M-x package-list-packages. You might have to configure some additional package sources first: (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org /packages/")) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) (package-initialize) You can then run powerline using (require 'powerline) It might take a little more configuration to get the powerline colors matching to what you want. You can also customize the shape of the separator: it doesn't have to be an arrow. Unfortunately, the blackboard theme in the package manager is using the old color-theme package which has been made obsolete with Emacs 24. You should use the version ported to the new and improved theming mechanism[1]. [1]: https://github.com/don9z/blackboard-theme https://github.com/don9z/blackboard-theme Download that and put it in ~/.emacs.d/themes. Now you can set it up with: (setq custom-theme-directory "~/.emacs.d/themes/") (setq custom-safe-themes t) (load-theme 'blackboard) I hope that helps.
- terhechte 13y agoThanks, fantastic! Will try it out!
- ericssmith 13y agoYou might like color-theme-sunburst.el based on your screenshot.
- koalaman 13y agoI recently started using ujelly https://github.com/marktran/color-theme-ujelly https://github.com/marktran/color-theme-ujelly which looks similar as well.
- cguo 13y agoHow do you install/load it in emacs? I moved the .el file into .emacs.d/themes, but (load-theme 'ujelly) didn't work like it did for blackboard.
- ericssmith 13y agoSomething like this ... (require 'color-theme) (color-theme-initialize) (load-file "~/.emacs.d/themes/color-theme-sunburst.el")
- tikhonj 13y agoJust based on the name, it looks like that file uses the old color-theme-mode instead of the new theming facilities. You'll either have to find a different version, port it over (I don't know how much effort that would take) or just use color-theme-mode.el again, which is a little annoying.