mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-17 17:31:18 +00:00
treewide: add global flag to disable default keymaps
This commit is contained in:
parent
8fbecab446
commit
9902836a90
31 changed files with 170 additions and 165 deletions
|
|
@ -9,9 +9,9 @@ in {
|
|||
setupOpts = mkPluginSetupOption "run.nvim" {};
|
||||
|
||||
mappings = {
|
||||
run = mkMappingOption "Run cached" "<leader>ri";
|
||||
runOverride = mkMappingOption "Run and override" "<leader>ro";
|
||||
runCommand = mkMappingOption "Run prompt" "<leader>rc";
|
||||
run = mkMappingOption config.vim.enableNvfKeymaps "Run cached" "<leader>ri";
|
||||
runOverride = mkMappingOption config.vim.enableNvfKeymaps "Run and override" "<leader>ro";
|
||||
runCommand = mkMappingOption config.vim.enableNvfKeymaps "Run prompt" "<leader>rc";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue