mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-30 00:26:45 +00:00
refactor!: use a new keymaps configuration format
This commit is contained in:
parent
7e566c9687
commit
0068af2d66
1 changed files with 2 additions and 3 deletions
|
@ -266,9 +266,8 @@ in {
|
|||
|
||||
toLuaBindings = mode: maps:
|
||||
builtins.map (value: ''
|
||||
vim.keymap.set(${toLuaObject mode}, ${toLuaObject value.key}, ${
|
||||
toLuaObject value.action
|
||||
}, ${toLuaObject value.config})'') (genMaps mode maps);
|
||||
vim.keymap.set(${toLuaObject mode}, ${toLuaObject value.key}, ${toLuaObject value.action}, ${toLuaObject value.config})
|
||||
'') (genMaps mode maps);
|
||||
|
||||
# I'm not sure if every one of these will work.
|
||||
allmap = toLuaBindings "" config.vim.maps.normalVisualOp;
|
||||
|
|
Loading…
Reference in a new issue