Terminal: Provide an extension for Windows terminal that provides True VI/VIM like experience

Created on 18 Nov 2019  路  2Comments  路  Source: microsoft/terminal

I want a way to customize the Windows Terminal (be it "CMD" or "PowerShell" or "Ubuntu" for VI?

For instance/specifically regardless of whether I am running it as PS, Ubuntu, CMD mode of the Terminal editor, I want the file editing experience including saving ( ESC Key, colon, w q ) file edits to reflect the VI/Vim behavior, without requiring me to specifically open VI to get that experience.

File save:--> ESC colon w q
Copy line :--> yy
Copy N lines from cursor :-> Nyy
Delete current line :--> dd
Delete N lines:--> Ndd
string substitute for occurrence between lines 20 and 30:--> 20:30 s/originalPattern/replacePattern/
etc. etc.

Issue-Feature Needs-Author-Feedback Needs-Tag-Fix Needs-Triage No-Recent-Activity

Most helpful comment

I'm sorry, I don't quite understand. Windows Terminal isn't a text editor, and we don't have any plans to _become_ a text editor. Most of the operations you've indicated here require a mutable buffer (deleting lines, substituting strings)... which we just aren't going to have.

There _are_ some shells with Vi-like keybindings (PowerShell + PSReadline in Vi mode, ZSH, Bash with bindkey).

Are you asking for a modal terminal? Are you asking for Terminal to become a text editor?

All 2 comments

I'm sorry, I don't quite understand. Windows Terminal isn't a text editor, and we don't have any plans to _become_ a text editor. Most of the operations you've indicated here require a mutable buffer (deleting lines, substituting strings)... which we just aren't going to have.

There _are_ some shells with Vi-like keybindings (PowerShell + PSReadline in Vi mode, ZSH, Bash with bindkey).

Are you asking for a modal terminal? Are you asking for Terminal to become a text editor?

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wkbrd picture wkbrd  路  3Comments

ghost picture ghost  路  3Comments

mrmlnc picture mrmlnc  路  3Comments

miniksa picture miniksa  路  3Comments

zadjii-msft picture zadjii-msft  路  3Comments