I want a way in which we can access a history of commands in terminal mode (and Vim/NeoVim's internal command line), just like in a normal bash terminal; i.e. if I press the up key it will scroll through previously executed commands.
Currently if I press any directional keys in terminal mode, it will close the terminal.
Any guidance on this would be greatly appreciated.
Maybe I have to write a new plugin?
EDIT: For :term/:terminal mode, the answer is to Use ConqueTerm from this repo.
EDIT: As you can see the above is not the answer.
EDIT (problem solved): I had previously mapped the key in terminal mode, so that I could exit terminal with a simple keystroke.