Add unicode-math

This commit is contained in:
Natsu Kagami 2022-10-09 17:12:29 +02:00
parent 23908b18d4
commit 5155634b39
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 18 additions and 1 deletions

View file

@ -197,6 +197,23 @@ in
map global normal <a-w> ': enter-user-mode -lock mirror<ret>' map global normal <a-w> ': enter-user-mode -lock mirror<ret>'
''; '';
} }
{
name = "unicode-math";
src = pkgs.fetchFromGitHub {
owner = "natsukagami";
repo = "kakoune-unicode-math";
rev = "75b25c507234addd6e56f7cbd9b913357c322004";
# sha256 = lib.fakeSha256;
sha256 = "sha256-MG0jzFBVudEjQ2OIBr+MipYjXCvWFSk1q+q8YsO4jLo=";
fetchSubmodules = true;
};
activationScript = ''
require-module unicode-math
# Bind <c-s> to the menu
map global insert <c-s> '<a-;>: insert-unicode '
'';
}
]; ];
} }

View file

@ -47,7 +47,7 @@ with lib; {
settings = { settings = {
# Tab settings # Tab settings
tab_bar_edge = "bottom"; tab_bar_edge = "top";
tab_bar_style = "powerline"; tab_bar_style = "powerline";
tab_powerline_style = "slanted"; tab_powerline_style = "slanted";
tab_title_template = "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.lightgreen}{fmt.bold}[{index}]{fmt.nobold} {fmt.fg.tab}{title}"; tab_title_template = "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.lightgreen}{fmt.bold}[{index}]{fmt.nobold} {fmt.fg.tab}{title}";