Menu

Toshimaru's Blog

Cursor move shortcuts without arrow key

Cursor move shortcut

shortcut description
Ctrl+f Move cursor forward one character
Ctrl+b Move cursor backwards one character
Ctrl+n Move cursor to next line
Ctrl+p Move cursor to previous line
Ctrl+a Move cursor to beginning of line
Ctrl+e Move cursor to end of line

The origin

The shortcuts originates from Emacs command.

C-f Move cursor forward one character C-b Move cursor backwards one character

C-n Move cursor to next line C-p Move cursor to previous line C-a Move cursor to beginning of line C-e Move cursor to end of line

Emacs: basic commands

Load more