mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 03:26:17 +00:00
23 lines
396 B
Nix
23 lines
396 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.presets.remaps.wrapped-line-nav;
|
|
in
|
|
{
|
|
options.presets.remaps.wrapped-line-nav = {
|
|
enable = lib.mkEnableOption "Navigate wrapped lines up and down";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
keymaps = [
|
|
{
|
|
key = "<up>";
|
|
action = "g<up>";
|
|
}
|
|
{
|
|
key = "<down>";
|
|
action = "g<down>";
|
|
}
|
|
];
|
|
};
|
|
}
|