Yummy.kak is a modeline for kakoune that renders a beutiful bar. It has the option to either be pined to the rigth (kakoune defualt) or fill the whole width of the screen. It's configured via two simpel format strings and a dozen kakoune faces and options.
Put the yummy.kak and yummy_configs.kak script in your autoload or install it using a plugin maneger and then put this in your kakrc as a config base line:
require-module yummy_std_config
yummy-enable
Some modules (git, lsp, powerline_config) also require a NERD font or that you change the config to use other text icons.
The main variables used for configuration is yummy_fmt_left and yummy_fmt_rigth. There exactly what you think they are, the format of the left and right side of the bar. They may contain module names preceded by a dollar sign and free text that's to be rendered using the StatusLine face. Valid modules are:
- mode: the current mode, insert/normal
- bufname: name of the current buffer
- modified: text icon that appears while the buffer has unwritten changes
- clock: a clock. could also be used to display the current date
- client_servee: displays the current client and server names
- selection: selection location and count
- git: current git branch
- lsp_error: lsp error count
- lsp_warn: lsp warning count
- lsp_info: lsp info count
- lsp_hint: lsp hint count
All modules expected mode are rendered with the face yummy_[module name]_face. All faces are by default derived from the standard kakoune status line faces. Some modules also expose additional options to customize them.
- mode exposes two options for the text shown in insert/normal mode. It also exposes two faces for use for rendering in normal/insert mode
- bufname exposes the SH string used to generate it
- modified exposes a option for the text icon used and also a option for the SH string used to render the module
- the clock module exposes the time format. This is passed to the command line program date to get the current time
- client_server, selections, git and all the lsp modules exposes one SH string each that's used to render them
yummy_configs.kak contain a few example config. Feel free to use them as is or look at them for reference.
yummy_powerline_config yummy_devs_config This is my config :). It's the only one that hard codes colors yumy_powerline_left_config Powerline but to the left yummy_std_config kinda boring simple example config yummy_the_rigth_side_config simpel one side config