Closed Dispader closed 2 years ago
ctrl-p and ctrl-n keybindings are already supported. I just confirmed locally with the latest vsh release.
vsh uses c-bata/go-prompt for prompt emulation. It specifically supports ctrl-p and ctrl-n https://github.com/c-bata/go-prompt#keyboard-shortcuts
crtl-p (and ctrl-n) for previous (next) command navigation is widely supported in shell environments. It feels like we would enhance user experience by supporting these navigation keys.