diff options
author | ahhshm <87268103+ahhshm@users.noreply.github.com> | 2022-04-22 12:30:42 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 12:30:42 +0430 |
commit | 095b75b688a6722a381f65a771124315ce1dd72d (patch) | |
tree | de4becc92205b356e4f5d1bb0e1b78e9dddcb8cd | |
parent | Merge pull request #2 from ahhshm/patch-1 (diff) |
refactor(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 |