Code Monkey home page Code Monkey logo

emacs-mainline's Introduction

Main-line - v1.2.8

This is a fork of powerline.el which I began while the original authorship of powerline was unknown.

  • Note: Forked from the original emacs port of vim powerline, Powerline.el by Nicolas Rougier

Note: Mainline is being merged with the other active fork of Powerline - The new separators and serveral new ones have been added already. I will be retiring emacs-mainline in light of this, and 1.2.8 is likely the final release. I suggest you switch over to Powerline if you are using main-line currently.

Using main-line.el

Add a require to .emacs / init.el

 (require 'main-line)

You can customize the separator graphic by setting the custom variable (you can also click the separators to cycle through them)

 main-line-separator-style

e.g.

 (setq main-line-separator-style 'wave)

possible values...

  • contour
  • contour-left
  • contour-right
  • roundstub
  • roundstub-left
  • roundstub-right
  • brace
  • wave
  • zigzag
  • butt
  • wave-left
  • zigzag-left
  • butt-left
  • wave-right
  • zigzag-right
  • butt-right
  • chamfer
  • chamfer14
  • rounded
  • arrow
  • arrow14
  • slant
  • slant-left
  • slant-right
  • curve

To customize the modeline - simply override the value of mode-line-format, see the default at the end of the script, as an example.

You can create your own modeline additions by using the defmain-line macro.

for example,

(defmain-line row "%4l")

gives you main-line-row to use in mode-line-format

Note. Using main-line-percent-xpm requires 18px separators (use main-line-percent with arrow14 or chamfer14)

Examples

emacs-mainline's People

Contributors

jasonm23 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.