Collection of useful operations for Windows Terminal#

Many operations on Windows Terminal can be used in common regardless of the type of shell, and learning them will greatly improve your efficiency. You want to consciously use things that are especially useful and let them soak into your body, but if you don’t use them, you’ll forget them, so I’ve summarized them here.

Start/end of line jump operation#

The following operations can be used commonly in many shells such as bash, zsh, and PowerShell (Emacs-style key bindings).

operation

shortcut

remarks

Move to beginning of line

Ctrl + A

Emacs series, common to all shells

move to end of line

Ctrl + E

Same as above

Cursor movement/word unit movement#

operation

shortcut

remarks

Move cursor one character to the left

or Ctrl + B

Emacs-like operations

Move cursor one character to the right

or Ctrl + F

Same as above

Move left by word

Alt + B or Ctrl +

Valid in bash/zsh

Move right by word

Alt + F or Ctrl +

Same as above

Delete/edit shortcuts#

operation

shortcut

remarks

Delete from cursor to end of line

Ctrl + K

Can be quickly reset

Delete from beginning of line to cursor

Ctrl + U

Convenient for redoing input

Delete 1 word (backward)

Alt + D

Valid in bash/zsh

Delete 1 word (forward)

Ctrl + W

Delete previous word

History and clipboard operations#

operation

shortcut

remarks

Incremental search of history

Ctrl + R

Search for past commands even while typing

Paste (Windows Terminal)

Ctrl + Shift + V

Faster than right mouse click

Convenient operations specific to Windows Terminal#

operation

shortcut

remarks

open tab

Ctrl + Shift + T

open a new session

close tab

Ctrl + Shift + W

Close unnecessary tabs

Split pane vertically

Alt + Shift + +

2 screens horizontally

Split pane horizontally

Alt + Shift + -

2 screens vertically

move pane

Alt + arrow keys

Can be operated like vim

clear screen

Ctrl + L

clean prompts

summary#

Efficient operations on Windows Terminal greatly improve daily work efficiency. In particular, once you get used to the keyboard operations for moving the cursor and deleting, editing stress will be greatly reduced.

When you become aware of operations that do not require you to move from your home position, you become aware of various operations and tools. If I notice anything else in the future, I would like to summarize it.

Article information

Post date:

2025-05-13

author:

Mr. Takagi