mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
plugins/rest: add keybinds option
This commit is contained in:
parent
6f7b236f65
commit
c1ae78cd8c
2 changed files with 19 additions and 0 deletions
|
@ -260,6 +260,20 @@ with lib;
|
|||
"HTML formatter.";
|
||||
};
|
||||
};
|
||||
|
||||
keybinds = {
|
||||
buffer_local = helpers.defaultNullOpts.mkBool false ''
|
||||
Enable keybinds only in request result buffer.
|
||||
'';
|
||||
|
||||
prev = helpers.defaultNullOpts.mkStr "H" ''
|
||||
Mapping for cycle to previous result pane.
|
||||
'';
|
||||
|
||||
next = helpers.defaultNullOpts.mkStr "L" ''
|
||||
Mapping for cycle to next result pane.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
highlight = {
|
||||
|
|
|
@ -69,6 +69,11 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
keybinds = {
|
||||
buffer_local = false;
|
||||
prev = "H";
|
||||
next = "L";
|
||||
};
|
||||
};
|
||||
highlight = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue