
Startup and General Configuration Summary
Configuring the Line Editor
2-18
Matrix NSA Series Configuration Guide
Table 2-3
Basic Line Editing Emacs & vi Commands
Key Sequence
Emacs Command
Ctrl+A
Move cursor to beginning of line.
Ctrl+B
Move cursor back one character.
Ctrl+C
Abort command.
Ctrl+D
Delete a character.
Ctrl+E
Move cursor to end of line.
Ctrl+F
Move cursor forward one character.
Ctrl+H
Delete character to left of cursor.
Ctrl+I or TAB
Complete word.
Ctrl+K
Delete all characters after cursor.
Ctrl+L or Ctrl+R
Re-display line.
Ctrl+N
Scroll to next command in command history (use the CLI
history
command to display the history).
Ctrl+P
Scroll to previous command in command history.
Ctr1+Q
Resume the CLI process.
Ctr1+S
Pause the CLI process (for scrolling).
Ctrl+T
Transpose characters.
Ctrl+U or Ctrl+X
Delete all characters before cursor.
Ctrl+W
Delete word to the left of cursor.
Ctrl+Y
Restore the most recently deleted item.
Key Sequence
vi Command
h
Move left one character
l
Move right one character