Git Product home page Git Product logo

powerline-evil's Introduction

powerline-evil

GPL MELPA

Utilities for better Evil support for Powerline.

Installation

(require 'powerline-evil)

Faces

There are custom faces for each evil mode in the format powerline-evil-<state>-face. The appropriate value is returned by powerline-evil-face based on the current state, so once these faces are configured you can use that function in your theme to apply the correct face.

Functions

The following helper functions for building powerline themes are provided by this package:

  • powerline-evil-face: Returns the appropriate face for the current evil state as described in the Faces section.
  • powerline-evil-tag: Returns the tag for the current evil state. See Options for details about configuring the tag style.

Themes

The package provides the following three themes:

  • powerline-evil-center-color-theme: This is the same as the powerline-center-evil-theme that comes with Powerline, except the evil state section is color coded.
  • powerline-evil-vim-theme: This is the same as the powerline-vim-theme that comes with Powerline, except with the evil state added to the beginning of the line.
  • powerline-evil-vim-color-theme: This is the same as the powerline-evil-vim-theme above, except the evil state section is color coded.

Options

The only configuration option (apart from the face customization) is powerline-evil-tag-style which is used to modify the behavior of powerline-evil-tag. It has 3 possible values:

  • standard: It will simply return the current value of evil-mode-line-tag as it is provided by the evil package.
  • verbose: It will return the name of the evil state in upper case. For the visual state if evil-visual-selection is block or line it will add those labels to the tag as well.
  • visual-expanded: For all but the visual state this is the same as standard. For visual state if evil-visual-selection is block it will replace the angle brackets around the "V" with "+". If it is line it will replace the brackets with "-".

powerline-evil's People

Contributors

johnson-christopher avatar

Watchers

 avatar  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.