Powerline for emacs24

Source: Internet
Author: User

I haven't written a blog for a long time. Today I will try again...

The UI of Emacs is really ugly. It happened to be a pretty good UI beautification product with great care. In this era when the experts did not see and did not pay attention to such details, if you work hard, give it to us. Haha...

1. as follows

2. Specific implementation

Plug-in address: https://github.com/milkypostman/powerline

The GUI and the terminal interface have different styles. You can only customize them for sake of harmony.

; Desc: Powerline; Mode: emacs-Powerline; Link: require Powerline (defun graphic-Powerline-config () "Powerline setting for graphic" (interactive) (progn (setq Powerline-arrow-shape 'arrow') (custom-set-faces '(Mode-line (T (: foreground "white": background "# 0044cc": Box nil) '(Mode-line-inactive (T (: foreground "white": background "#262626 ": box nil) (setq powerline-color1 "# 0088cc") (setq powerline-color2 "white") (defun terminal-Powerline-config () "Powerline setting for terminal" (interactive) (setq Powerline-arrow-shape 'arrow) (setq powerline-color1 "grey22") (setq powerline-color2 "grey22 ") (custom-set-faces '(Mode-line (T (: foreground "grey44": background "grey22": Box nil )))) '(Mode-line-inactive (T (: foreground "grey22": background "grey44": Box nil ))))));; "Load the configuration according to the graphic interface"; (if (display-graphic-P); (Graphic-Powerline-config); (terminal-Powerline-config ))

I use the milkypostman/Powerline plug-in,CodeLink is found later when the address is supplemented. It seems that the ranking is higher, but it is compatible...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.