mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-18 16:18:39 +00:00
Compare commits
No commits in common. "b45f0516a12202c602e080debef926be8a0ebab6" and "d3a0e7029ac57eef1120225973247851c5b967b5" have entirely different histories.
b45f0516a1
...
d3a0e7029a
2 changed files with 1 additions and 16 deletions
|
|
@ -48,7 +48,7 @@ in {
|
||||||
cmdline = {
|
cmdline = {
|
||||||
sources = mkOption {
|
sources = mkOption {
|
||||||
type = nullOr (listOf str);
|
type = nullOr (listOf str);
|
||||||
default = null;
|
default = [];
|
||||||
description = "List of sources to enable for cmdline. Null means use default source list.";
|
description = "List of sources to enable for cmdline. Null means use default source list.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -122,21 +122,6 @@ in {
|
||||||
"fallback"
|
"fallback"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# cmdline is not enabled by default, we're just providing keymaps in
|
|
||||||
# case the user enables them
|
|
||||||
cmdline.keymap = {
|
|
||||||
${mappings.complete} = ["show" "fallback"];
|
|
||||||
${mappings.close} = ["hide" "fallback"];
|
|
||||||
${mappings.scrollDocsUp} = ["scroll_documentation_up" "fallback"];
|
|
||||||
${mappings.scrollDocsDown} = ["scroll_documentation_down" "fallback"];
|
|
||||||
# NOTE: mappings.confirm is skipped because our default, <CR> would
|
|
||||||
# lead to accidental triggers of blink.accept instead of executing
|
|
||||||
# the cmd
|
|
||||||
|
|
||||||
${mappings.next} = ["select_next" "show" "fallback"];
|
|
||||||
${mappings.previous} = ["select_prev" "fallback"];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue