diff options
author | Sidhanth Rathod <siduck@tutanota.com> | 2022-04-22 14:04:51 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 14:04:51 +0530 |
commit | ec3baf095e487f6491e93abfc0c52a82d35c76a2 (patch) | |
tree | de4becc92205b356e4f5d1bb0e1b78e9dddcb8cd | |
parent | Merge pull request #2 from ahhshm/patch-1 (diff) | |
parent | refactor(readme): define `opts` (diff) |
Merge pull request #4 from ahhshm/patch-2
fix(readme): define `opts`
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -104,6 +104,7 @@ local mappings = { { 'n', '<Leader>s', function () terminal.new_or_toggle('horizontal') end }, { 'n', '<Leader>v', function () terminal.new_or_toggle('vertical') end }, } +local opts = { noremap = true, silent = true } for _, mapping in ipairs(mappings) do vim.keymap.set(mapping[1], mapping[2], mapping[3], opts) end |