1
NORMAL
Line: 1, Col: 0
untitled

Vim-like Editor Help

This is a simple text editor with Vim-like keybindings. Press Esc to close this help screen.

Modes

Mode Description How to Enter
Normal For navigation and commands Press Esc from any mode
Insert For typing text Press i, a, o, O etc. in Normal mode
Command For executing commands Press : in Normal mode

Navigation (Normal Mode)

Key Action
h / ArrowLeft Move cursor left
j / ArrowDown Move cursor down
k / ArrowUp Move cursor up
l / ArrowRight Move cursor right
0 Move to start of line
$ Move to end of line
gg Move to beginning of file
G Move to end of file
w Move forward one word
b Move backward one word

Editing (Normal Mode)

Key Action
i Enter Insert mode at cursor
a Enter Insert mode after cursor
o Open new line below and enter Insert mode
O Open new line above and enter Insert mode
x Delete character under cursor
dd Delete current line
yy Yank (copy) current line
p Paste after cursor
u Undo
Ctrl+r Redo

Commands (Command Mode)

Command Action
:w Save document to localStorage
:q Quit (refresh page)
:wq Save and quit
:help or ? in Normal Mode Show this help screen
:set filename=name Set the document name
:open name Open a document from localStorage
:files List saved files

Press Esc to close this help screen.