For using the terminal while working with Rust. I've added this config (NVIM) (TTerm one).
if has('nvim')
command Ter vsplit term://zsh
command Tter tabe term://zsh
else
command Terminal vert term
command TerminalTab tab ter
endif
It opens the terminal in a different tab as expected. Normally with other tabs, we can use the <C-p>
to navigate to previous tabs. But I cannot use the <C-p>
or :tabprevious
as it types it in the terminal. Any options?