Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added keybindings doc #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions doc/keybindings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Keybindings

## Editor

Keymap | Action | Command
---------------------|--------------------------------------|---------
`Ctrl + Shift + p` | Run command | `Core: Find Command`
`Ctrl + p` | Find and open file in project folder | `Core: Find File`
`Ctrl + o` | Open file | `Core: Open File`
`Ctrl + n` | Create new document | `Core: New Doc`
`Ctrl + Tab` | Switch to next Tab | `Root: Switch To Next Tab`
`Ctrl + Shift + Tab` | Switch to previous Tab | `Root: Switch To Previous Tab`
`Alt + 1` | Switch to Tab 1 | `Root: Switch To Tab 1`
`Alt + 2` | Switch to Tab 2 | `Root: Switch To Tab 2`
`Alt + 3` | Switch to Tab 3 | `Root: Switch To Tab 3`
`Alt + 4` | Switch to Tab 4 | `Root: Switch To Tab 4`
`Alt + 5` | Switch to Tab 5 | `Root: Switch To Tab 5`
`Alt + 6` | Switch to Tab 6 | `Root: Switch To Tab 6`
`Alt + 7` | Switch to Tab 7 | `Root: Switch To Tab 7`
`Alt + 8` | Switch to Tab 8 | `Root: Switch To Tab 8`
`Alt + 9` | Switch to Tab 9 | `Root: Switch To Tab 9`
`Ctrl + PageUp` | Move Tab to the left | `Root: Move Tab Left`
`Ctrl + PageDown` | Move Tab to the right | `Root: Move Tab Right`
`Alt + Shift + i` | Split window to up | `Root: Split Up`
`Alt + Shift + j` | Split window to left | `Root: Split Left`
`Alt + Shift + k` | Split window to down | `Root: Split Down`
`Alt + Shift + l` | Split window to right | `Root: Split Right`
`Alt + i` | Switch to the above window | `Root: Switch To Up`
`Alt + j` | Switch to the left window | `Root: Switch To Left`
`Alt + k` | Switch to the below window | `Root: Switch To Down`
`Alt + l` | Switch to the right window | `Root: Switch To Right`
`Alt + Return` | Toggle fullscreen | `Core: Toggle Fullscreen`


## Document

Keymap | Action1 | Action2 | Command1 | Command2
---------------------------|-------------------------------------|---------------------------------|-------------------------------|------
`Ctrl + s` | Save document | | `Doc: Save` |
`Ctrl + Shift + s` | Save document as | | `Doc: Save As` |
`Ctrl + w` | Close document | | `Root: Close` |
`Ctrl + f` | Find | | `Find Replace: Find` |
`Ctrl + r` | Find and replace | | `Find Replace: Replace` |
`F3` | Goto next find result | | `Find Replace: Repeat Find` |
`Shift + F3` | Goto previous find result | | `Find Replace: Previous Find` |
`Ctrl + z` | Undo | | `Doc: Undo` |
`Ctrl + y` | Redo | | `Doc: Redo` |
`Ctrl + x` | Cut | | `Doc: Cut` |
`Ctrl + c` | Copy | | `Doc: Copy` |
`Ctrl + v` | Paste | | `Doc: Paste` |
`Ctrl + a` | Select all | | `Doc: Select All` |
`Ctrl + g` | Goto line number | | `Doc: Got To Line` |
`Ctrl + d` | Select word | Select next search match | `Doc: Select Word` | `Find Replace: Select Next`
`Ctrl + l` | Select line | | `Doc: Select Lines` |
`Ctrl + /` | Toggle line comments | | `Doc: Toggle Line Commands` |
`Ctrl + Up` | Move lines up | | `Doc: Move Lines Up` |
`Ctrl + Down` | Move lines up | | `Doc: Move Lines Down` |
`Ctrl + Return` | Newline below | | `Doc: Newline Below` |
`Ctrl + Shift + Return` | Newline above | | `Doc: Newline Above` |
`Ctrl + Shift + d` | Duplicate lines | | `Doc: Duplicate Lines` |
`Ctrl + Shift + k` | Delete lines | | `Doc: Delete Lines` |
`Ctrl + j` | Join lines | | `Doc: Join Lines` |
`Escape` | Escape | Select none | `Command: Escape` | `Doc: Select None`
`Tab` | Indent | Syntax completion | `Doc: Indent` | `Command: Complete`
`Shift + Tab` | Unindent | | `Doc: Unindent` |
`Backspace` | Backspace | | `Doc: Backspace` |
`Shift + Backspace` | Backspace | | `Doc: Backspace` |
`Ctrl + Backspace` | Delete until previous word start | | `Doc: Delete To Previous Word Start`|
`Ctrl + Shift + Backspace` | Delete until previous word start | | `Doc: Delete To Previous Word Start`|
`Delete` | Delete | | `Doc: Delete` |
`Shift + Delete` | Delete | | `Doc: Delete` |
`Ctrl + Delete` | Delete until next word end | | `Doc: Delete To Next Word End`|
`Ctrl + Shift + Delete` | Delete until next word end | | `Doc: Delete To Next Word End`|
`Return` | Submit | Newline | `Command: Submit` | `Doc: Newline`
`Keypad-Enter` | Submit | Newline | `Command: Submit` | `Doc: Newline`
`Up` | Move cursor to previous line | Select previous syntax completion| `Doc: Move To Previous Line` | `Command: Select Previous`
`Left` | Move cursor to previous char | | `Doc: Move To Previous Char` |
`Down` | Move cursor to next line | Select next syntax completion | `Doc: Move To Next Line` | `Command: Select Next`
`Right` | Move cursor to next char | | `Doc: Move To Next Char` |
`Ctrl + Left` | Move cursor to previous word start | | `Doc: Move To Previous Word Start`|
`Ctrl + Right` | Move cursor to next word end | | `Doc: Move To Next Word End` |
`Ctrl + [` | Move cursor to previous block start | | `Doc: Move To Previous Block Start`|
`Ctrl + ]` | Move cursor to next block end | | `Doc: Move To Previous Block End`|
`Home` | Move cursor to line start | | `Doc: Move To Start Of Line` |
`End` | Move cursor to line end | | `Doc: Move To End Of Line` |
`Ctrl + Home` | Move cursor to document start | | `Doc: Move To Start Of Doc` |
`Ctrl + End` | Move cursor to document end | | `Doc: Move To End Of Doc` |
`PageUp` | Move cursor to precious page | | `Doc: Move To Previous Page` |
`PageDown` | Move cursor to next page | | `Doc: Move To Next Page` |
`Shift + Up` | Select until previous line | | `Doc: Select To Previous Line`|
`Shift + Left` | Select until previous char | | `Doc: Select To Previous Char`|
`Shift + Down` | Select until next line | | `Doc: Select To Next Line` |
`Shift + Right` | Select until previous char | | `Doc: Select To Next Char` |
`Ctrl + Shift + Left` | Select until previous word start | | `Doc: Select To Previous Word Start`|
`Ctrl + Shift + Right` | Select until next word end | | `Doc: Select To Next Word End`|
`Ctrl + Shift + [` | Select until previous block start | | `Doc: Select To Previous Block Start`|
`Ctrl + Shift + ]` | Select until next block end | | `Doc: Select To Next Block End`|
`Ctrl + Shift + Home` | Select until start line start | | `Doc: Select To Start Of Doc`|
`Ctrl + Shift + End` | Select until start line end | | `Doc: Select To End Line`|
`Shift + PageUp` | Select until previous page | | `Doc: Select To Previous Page`|
`Shift + PageDown` | Select until next page | | `Doc: Select To Next Page`|