httpie / http-prompt

An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
https://http-prompt.com
MIT License
8.96k stars 326 forks source link

Display current Vi mode #163

Open TheLastProject opened 4 years ago

TheLastProject commented 4 years ago

In bash, my prompt displays (ins) or (cmd) in front of PS1 when vi mode is enabled. http-prompt does not seem to show anywhere that vi mode is on or off.

I am willing to contribute this feature myself. Do you feel I should wait until #159 is done or should I already hard-prefix it if vi mode is on, like bash seems to do on my system?