Skip to content

This repository contains a list of shortcut keys for use in a terminal interface. These keyboard combinations allow for quicker execution of actions or commands.

Notifications You must be signed in to change notification settings

syukronarie/terminal-shortcut-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Terminal Shortcut Keys

Movement & Deletions

Movement Deletion
Ctrl+a: Move cursor to start of line Ctrl+w: Delete word before cursor
Ctrl+e: Move cursor to end of line Ctrl+h: Delete character before cursor
Ctrl+b: Move back one character Ctrl+d: Delete character after cursor
Ctrl+f: Move forward one character Ctrl+u: Delete everything before the cursor
Left: Move back one character Ctrl+k: Delete everything after the cursor
Right: Move forward one character Backspace: Delete character before cursor
Alt/Opt+Left: Move back one word Alt/Opt+Backspace: Delete word before cursor
Alt/Opt+Right: Move forward one word Alt/Opt+w: Delete word before the cursor
Alt/Opt+b: Move back one word Alt/Opt+d: Delete word after the cursor
Alt/Opt+f: Move forward one word Cmd+Backspace: Delete everything before the cursor
Cmd+Left: Move cursor to start of line
Cmd+Right: Move cursor to end of line

History & Miscellaneous

Miscellaneous History
Tab: Autocomplete a command or file name Ctrl+r: Search command in history - type the search term
Ctrl+i: Command completion like Tab Ctrl+j: End the search at current history entry and run command
Ctrl+l: Clear the terminal Ctrl+g: Cancel the search and restore original line
Ctrl+c: Terminate the current command Ctrl+n: Next command from the History
Ctrl+z: Suspend the current command Ctrl+p: previous command from the History
Ctrl+y: Paste the last deleted command Up: previous command from the History
Ctrl+\_: Undo Down: Next command from the History
Ctrl+shift+c: Copy selected text
Ctrl+shift+v: Paste copied text
Ctrl+t: Swap two characters before the cursor
Esc+t: Swap two words before the cursor
Ctrl+o: Execute current command

About

This repository contains a list of shortcut keys for use in a terminal interface. These keyboard combinations allow for quicker execution of actions or commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages