-
Notifications
You must be signed in to change notification settings - Fork 1
Keymappings
hαrsh vαirαgi edited this page Jul 15, 2025
·
6 revisions
These are the instructions and shortcut keys in various modes.
These are some of the shortcut keys mentioned here for normal mode.
Shortcut | Description |
---|---|
. |
Repeat last command or shortcut key |
~ |
Change case of character under cursor |
dd |
Cut current line |
shift + > |
Add indent (shift right) to current line |
shift + < |
Remove indent (shift left) from current line |
f |
Folds current block of code into single line |
space |
Unfolds current block of code |
ctrl + f |
Folds all block into their specific blocks |
ctrl + j |
Unfolds all block of codes. |
alt + e |
Open file explorer |
alt + r |
Run current file |
ctrl + q |
Close current file |
alt + q |
Close all files |
ctrl + t |
Open terminal like vscode |
shift + r |
rename all references of selected document |
These are some shortcuts that work on the file explorer tab.
Shortcut | Description |
---|---|
enter or ctrl + o
|
Open the file |
right |
Open the folder |
left |
Close the folder |
q |
Close the file explorer |
ctrl + n |
Create new file |
ctrl + x |
Cut file |
ctrl + c |
Copy file |
ctrl + v |
Paste file |
ctrl + d |
Delete file |
These are some of the shortcut keys mentioned here for insert mode.
Shortcut | Description |
---|---|
i |
To use insert mode |
a |
To use insert mode (cursor shift one letter forward) |
o |
To use insert mode (cursor shift to a new blank line) |
ctrl + c |
Copy whole line |
ctrl + v |
Paste |
ctrl + up |
Shift the current line upwards (use arrow key) |
ctrl + down |
Shift the current line downwards (use arrow key) |
ctrl + u |
Undo |
ctrl + r |
Redo |
ctrl + d |
Duplicate current line |
ctrl + s |
Save |
ctrl + q |
Save and exit |
These shortcut keys work when auto completions will start displaying from language servers.
Shortcut | Description |
---|---|
alt + up |
Scroll autocompletion upwards |
alt + down |
Scroll autocompletion downwards |
alt + c |
Abort autocompletions |
enter |
Select autocompletion option |
© 2025 code-editor documentation. Built with ❤ with cli.