Provide an extension for Windows terminal that provides True VI/VIM like experience #5066

Closed
opened 2026-01-31 00:04:09 +00:00 by claunia · 2 comments
Owner

Originally created by @kprpg on GitHub (Nov 18, 2019).

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.

Originally created by @kprpg on GitHub (Nov 18, 2019). 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.
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 18, 2019):

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?

@DHowett-MSFT commented on GitHub (Nov 18, 2019): 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?
Author
Owner

@ghost commented on GitHub (Nov 22, 2019):

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.

@ghost commented on GitHub (Nov 22, 2019): 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**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5066