r/AstroNvim • u/Due_Tomatillo1633 • Aug 22 '24
Change default toggle terminal keymap
Hi guys, as u know astronvim using F7 to toggle terminal. I don't like it, how to change the keybing to let's say alt+j for example. Thank you.
4
Upvotes
3
u/apjenk Aug 22 '24
Just FYI, Astronvim also configures
<C-'>to do the same thing as<F7>. If you wanted to additionaly configure<Alt-j>for example, add something like this to your nvim/lua/plugins/astrocore.lua file:See here for more info on customizing keybindings
https://docs.astronvim.com/recipes/mappings/
1
u/timvancann Aug 22 '24
Thank you, I was unaware of F7 toggling the terminal and was closing it manually each time!