diff options
author | zbirenbaum <zacharyobirenbaum@gmail.com> | 2022-04-25 03:09:13 -0400 |
---|---|---|
committer | zbirenbaum <zacharyobirenbaum@gmail.com> | 2022-04-25 03:09:13 -0400 |
commit | 2403f80945d76490c91a7be82dcb4aa3db27a929 (patch) | |
tree | 6b3bcd8f833adcebeb56156267bb6cf64665e58e /README.md | |
parent | change default horizontal mapping (diff) |
dramatically simplify setting mappings in setup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,9 +42,9 @@ require("nvterm").setup({ }, mappings = { toggle = { - { '<A-i>', function () terminal.new_or_toggle('float') end }, - { '<A-h>', function () terminal.new_or_toggle('horizontal') end }, - { '<A-v>', function () terminal.new_or_toggle('vertical') end }, + float = "<A-i>", + horizontal = "<A-h>", + vertical = "<A-v>", } } }) |