mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-10 18:59:33 +00:00
feat: toggleterm keybindings
This commit is contained in:
parent
f3aac8cb5a
commit
0938859c18
2 changed files with 8 additions and 1 deletions
|
@ -7,6 +7,13 @@ with lib;
|
|||
with builtins; {
|
||||
options.vim.terminal.toggleterm = {
|
||||
enable = mkEnableOption "Enable toggleterm as a replacement to built-in terminal command";
|
||||
mappings = {
|
||||
open = mkOption {
|
||||
type = types.str;
|
||||
description = "The keymapping to open toggleterm";
|
||||
default = "<c-t>";
|
||||
};
|
||||
};
|
||||
direction = mkOption {
|
||||
type = types.enum ["horizontal" "vertical" "tab" "float"];
|
||||
default = "horizontal";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue