# Powerline.kak - Kakoune modeline, but with passion

**URL:** <https://discuss.kakoune.com/t/powerline-kak-kakoune-modeline-but-with-passion/157>\
**Category:** Plugins\
**Created:** [November 4, 2018, 12:53pm UTC](https://discuss.kakoune.com/t/powerline-kak-kakoune-modeline-but-with-passion/157 "2018-11-04T12:53:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [November 4, 2018, 12:53pm UTC](https://discuss.kakoune.com/t/powerline-kak-kakoune-modeline-but-with-passion/157/1 "2018-11-04T12:53:05Z")

</div>

Hello [Mouilleurs](https://discuss.kakoune.com/t/what-do-you-call-kakoune-users/34/4) (lol, Mouilleur is awesome name for Kakoune users, I think). I’d like to introduce my another plugin for Kakoune - [powerline.kak](https://github.com/andreyorst/powerline.kak).

This plugin is an extension to already existing feature - modeline. I believe that Kakoune has the best modeline out there, because I’ve configured a lot of modelines myself in the past, and Kakounes’ one is the most flexible one. From best to worst: Kakoune, Tmux, Emacs, Vim, GNU Screen.

When I was using Vim I loved how my statusline looks with [vim-airline](https://github.com/vim-airline/vim-airline) plugin, which is viml rewrite of [powerline](https://github.com/powerline/powerline). So I’ve decided to build my own powerline-like modeline for Kakoune, and after I did a prototype that worked for me I’ve thought to release it as a plugin.

This plugin features these cool things:

- Ability to toggle parts of powerline on and off
- Current git branch
- Ability to have context dependent powerline for different buffers
- Themes
- Different separators, based on [powerline extra symbols](https://github.com/ryanoasis/powerline-extra-symbols)
- Automatically hide empty parts of powerline
- Dynamically switch separator style depending on surrounding colors
- Position in file in percents

Overall look can be found in [readme](https://github.com/andreyorst/powerline.kak/blob/master/README.md) at GitHub.

For future plans I think I’ll add a way of extending powerline with new modules, that can be defined in other plugins, and I’m currently thinking about a way of automatic truncation of powerline parts if It gets too long.

---

<div class="post-metadata">

**Author:** ![robertmeta](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/robertmeta/32/833_2.png) [@robertmeta](https://discuss.kakoune.com/u/robertmeta)\
**Post date:** [November 5, 2018, 1:01am UTC](https://discuss.kakoune.com/t/powerline-kak-kakoune-modeline-but-with-passion/157/2 "2018-11-05T01:01:13Z")

</div>

Screenshot of the plugin for those who might be interested (from the lined GH)

 ![image](https://discuss.kakoune.com/uploads/default/original/1X/1850f3ea9a77c14708321dfa2d1f675311c021da.png)

---

<div class="post-metadata">

**Author:** ![useredsa](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/useredsa/32/419_2.png) [@useredsa](https://discuss.kakoune.com/u/useredsa)\
**Post date:** [March 28, 2020, 4:50pm UTC](https://discuss.kakoune.com/t/powerline-kak-kakoune-modeline-but-with-passion/157/3 "2020-03-28T16:50:49Z")

</div>

I don’t know if this is intentional but I can’t place issues in the repository. 😕

---

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [March 28, 2020, 6:50pm UTC](https://discuss.kakoune.com/t/powerline-kak-kakoune-modeline-but-with-passion/157/4 "2020-03-28T18:50:35Z")

</div>

because thats a mirror to gitlab repo
