mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-09 23:15:30 +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
|
|
@ -12,10 +12,10 @@ in {
|
|||
enable = mkEnableOption "treesitter, also enabled automatically through language options";
|
||||
|
||||
mappings.incrementalSelection = {
|
||||
init = mkMappingOption "Init selection [treesitter]" "gnn";
|
||||
incrementByNode = mkMappingOption "Increment selection by node [treesitter]" "grn";
|
||||
incrementByScope = mkMappingOption "Increment selection by scope [treesitter]" "grc";
|
||||
decrementByNode = mkMappingOption "Decrement selection by node [treesitter]" "grm";
|
||||
init = mkMappingOption config.vim.enableNvfKeymaps "Init selection [treesitter]" "gnn";
|
||||
incrementByNode = mkMappingOption config.vim.enableNvfKeymaps "Increment selection by node [treesitter]" "grn";
|
||||
incrementByScope = mkMappingOption config.vim.enableNvfKeymaps "Increment selection by scope [treesitter]" "grc";
|
||||
decrementByNode = mkMappingOption config.vim.enableNvfKeymaps "Decrement selection by node [treesitter]" "grm";
|
||||
};
|
||||
|
||||
fold = mkEnableOption "fold with treesitter";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue