Created
July 8, 2025 06:38
-
-
Save rodhfr/4e224654eeaf18dd4d0f34a066fc7103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I don't know whether this will work for you. But check this solution. | |
I am using NVchad too for me to open a vertical or horizontal terminal I have to use "leader(space bar) + v" or "leader(space bar) + h". To come back to the currently opened editor which will be either on top of the newly opened terminal or on the left side we need to do some more. | |
"ctrl + x" this combination will exit/throw out your cursor from the terminal. | |
"ctrl + h/k/l/j" this combination will switch your cursor to the nearby opened editor. | |
For your reminder the keys "h,j,k,l" are generally used for navigation in vim/nvim as an alternative for the arrow keys. | |
For example: I have an opened editor and use "leader + v" to open a new vertical split terminal. I run some commands. I use "ctrl + x" to escape from the terminal. Then I use "ctrl + h" since "h = left arrow" my cursor will now be on the opened editor. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment