switches from vim.api.nvim_set_keymap with a :lua" command inside to usingvim.keymap.setwithvim.cmd()`, this allows for the keybindings to run and switch to tmux panes without interrupting command mode and overwriting the cmdline content
adds a config.modes option for users to set their desired modes, with normal mode as the default
fixes the intended behaviour of setting the plugin's defaults in a local config table at the top of init.lua
This PR:
vim.api.nvim_set_keymap
with a:lua" command inside to using
vim.keymap.setwith
vim.cmd()`, this allows for the keybindings to run and switch to tmux panes without interrupting command mode and overwriting the cmdline contentconfig.modes
option for users to set their desired modes, with normal mode as the defaultlocal config
table at the top ofinit.lua