Add unicode-math
This commit is contained in:
parent
23908b18d4
commit
5155634b39
|
@ -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 '
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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}";
|
||||||
|
|
Loading…
Reference in a new issue