Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't go into normal mode in floating terrminal

I am using toggleterm.nvim extension for creating floating terminals. I am also using lazyvim (https://www.lazyvim.org/) to get some default configurations.
I can create a new floating terminal using the keys: <leader>ft but I can't seem to able to get into normal mode once I open the floating terminal. In the default keymaps of lazyvim, <esc><esc> is mapped to <C-\><C-n> which puts into normal mode while the floating terminal is open. But pressing <esc><esc> doesn't do anything. Although pressing <C-\><C-n> does put me in normal mode.

I don't know why the keymap is not working. Any pointers? I am using iterm2 as terminal emulator.

like image 876
monte Avatar asked Sep 07 '25 08:09

monte


1 Answers

you can write "exit" in terminal or press ctrl + d

like image 112
Harish Khandre Avatar answered Sep 11 '25 02:09

Harish Khandre