Closed jmpargana closed 4 months ago
After investigating I've noticed that lazy.nvim
is not loading the plugin. Running lua require("toggleterm").setup {}
or sourcing the toggleterm.lua
file loads makes the open_mapping
available.
I've tried to use the default configuration suggested in the README, but it has the same problem.
Do you have any pointers?
The open_mapping is not working for me either.
you use lazy's key
config, this will make it lazy load on key press, https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec
you can set lazy
to false besides key
, or rich the key
config for all bindings you need.
you use lazy's
key
config, this will make it lazy load on key press, https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-specyou can set
lazy
to false besideskey
, or rich thekey
config for all bindings you need.
Thank you that fixed it :)
Is there an existing issue for this?
Current Behavior
When I open neovim and use the open_mapping (ex.
<c-\>
) nothing happens. After I run:ToggleTerm
for the first time the mapping becomes available and starts working to open and close the terminal.I've tried changing the
open_mapping
option or sticking to the default but nothing changes.Expected Behavior
Configured mapping should work before running command.
Steps To Reproduce
Anything else?
I'be happy to contribute to this repository by fixing this bug if you giving me some pointers :)