I was playing with the linux history command and after some tries I was searching on internet and I found a good feature on Visual Studio Code for the integrated terminal.
VS Code has 2 features for:
- Commands for Current session
- Commands for Previous sessions
- Visited Directories for Current session
- Visited Directories for Previous sessions
Finally a good, easy and pratics way to manage your comand history plus the new history for directory visited.
I binding my keys, I choosen CTRL + ALT + UP arrow for history commands and CTRL - ALT + LEFT arrow for directories.