AWS Cloud9 is no longer available to new customers. Existing customers of
AWS Cloud9 can continue to use the service as normal.
Learn more
MacOS Vim Keybindings Reference for the AWS Cloud9 IDE
This step shows how to choose MacOS Vim Keybindings Reference for AWS Cloud9.
-
On the menu bar, choose AWS Cloud9, Preferences.
-
On the Preferences tab, choose Keybindings.
-
For Keyboard Mode, choose Vim.
-
For Operating System, choose MacOS.
For more information about keybindings, see Working with Keybindings.
The following is a list of Vim keyboard mode keybindings for MacOS operating systems in the AWS Cloud9 IDE:
General
Description | Keybinding | Command |
---|---|---|
Add the selection as a watch expression |
|
|
Remove the cut selection from the clipboard |
|
|
Show the code completion context menu |
|
|
Code complete, and then overwrite |
|
|
Copy the selection to the clipboard |
|
|
Cut the selection to the clipboard |
|
|
Expand code, where applicable |
|
|
Show the find and replace bar for the current document |
|
|
Select all find matches in the current document |
|
|
Go to the next match in the current document for the find query you entered last |
|
|
Go to the previous match in the current document for the find query you entered last |
|
|
Display all known references to the symbol at the insertion point in the active file in the editor |
|
|
Open the Environment window, and then make the list of files active |
|
|
Reformat the selected JavaScript code |
|
|
Show the go to line box |
|
|
Hide the find and replace bar, if it is showing |
|
|
Go to the definition of the variable or function at the cursor |
|
|
If a local Lambda function is selected in the Lambda section of the AWS Resources window, attempts to upload the function to Lambda as a remote function |
|
|
Create a new file |
|
|
Show the Preferences tab |
|
|
Open a Terminal tab, and then switch to the parent folder of the selected file in the list of files |
|
|
Paste the clipboard's current contents at the cursor |
|
|
Show suggestions for fixing errors |
|
|
Redo the last action |
|
|
Refresh the preview pane |
|
|
Start a rename refactor for the selection |
|
|
Show the find and replace bar for the current document, with focus on the replace with expression |
|
|
Rerun your initialization script |
|
|
Restart the environment |
|
|
Reset the current file to its last saved version |
|
|
Reset each open file to its saved version |
|
|
Save the current file to disk |
|
|
Save the current file to disk with a different file name |
|
|
Show the find and replace bar for multiple files |
|
|
Show the Process List dialog box |
|
|
Undo the last action |
|
|
Tabs
Description | Keybinding | Command |
---|---|---|
Close all open tabs in the current pane, except the current tab |
|
|
Close all open tabs in all panes |
|
|
Close the current pane |
|
|
Close the current tab |
|
|
Go one pane down |
|
|
Go one pane left |
|
|
Go one pane right |
|
|
Go one pane up |
|
|
Go one tab left |
|
|
Go one tab right |
|
|
Move the current tab down one pane, or if the tab is already at the very bottom, create a split tab there |
|
|
Move the current tab left, or if the tab is already at the far left, create a split tab there |
|
|
Move the current tab right, or if the tab is already at the far right, create a split tab there |
|
|
Move the current tab up one pane, or if the tab is already at the very top, create a split tab there |
|
|
Go to the next pane |
|
|
Go to the next tab |
|
|
Go to the previous pane |
|
|
Go to the previous tab |
|
|
Go back to the last tab |
|
|
Open the last tab again |
|
|
Show the current tab in the file tree |
|
|
Go to the tenth tab |
|
|
Go to the first tab |
|
|
Go to the second tab |
|
|
Go to the third tab |
|
|
Go to the fourth tab |
|
|
Go to the fifth tab |
|
|
Go to the sixth tab |
|
|
Go to the seventh tab |
|
|
Go to the eighth tab |
|
|
Go to the ninth tab |
|
|
Panels
Description | Keybinding | Command |
---|---|---|
Show the Go window in Go to Anything mode |
|
|
Show the Go window in Go to Command mode |
|
|
Show the Go window in Go to File mode. |
|
|
Show the Go window in Go to Symbol mode. |
|
|
Show the Outline window |
|
|
Show the Console window if hidden, or hide if shown |
|
|
Show the Environment window if hidden, or hide if shown |
|
|
Code Editor
Description | Keybinding | Command |
---|---|---|
Add a cursor one line above the active cursor, or if a cursor is already added, add another cursor above that one |
|
|
Add a second cursor one line above the active cursor, or if a second cursor is already added, move the second cursor up one line |
|
|
Add a cursor one line below the active cursor, or if a cursor is already added, add another cursor below that one |
|
|
Add a second cursor one line below the active cursor, or if a second cursor is already added, move the second cursor down one line |
|
|
Move all cursors to the same space as the active cursor on each of their lines, if they are misaligned |
|
|
Backspace one space |
|
|
Indent selection one tab |
|
|
Outdent selection one tab |
|
|
Control whether focus can be switched from the editor to somewhere else in the IDE |
|
|
Center the selection |
|
|
Copy the contents of the line, and paste the copied contents one line down |
|
|
Copy the contents of the line, and paste the copied contents one line up |
|
|
Delete one space |
|
|
Copy the contents of the selection, and paste the copied contents immediately after the selection |
|
|
Include the current line's contents in the selection |
|
|
Include up to the next matching symbol in selection |
|
|
Fold the selected code, or if a folded unit is selected, unfold it |
|
|
Fold all possibly foldable elements |
|
|
Fold all possibly foldable elements, except for the current selection scope |
|
|
Go down one line |
|
|
Go up one line |
|
|
Go to the end of the file |
|
|
Go left one space |
|
|
Go to the end of the current line |
|
|
Go to the start of the current line |
|
|
Go to the next error |
|
|
Go down one page |
|
|
Go up one page |
|
|
Go to the previous error |
|
|
Go right one space |
|
|
Go to the start of the file |
|
|
Go one word to the left |
|
|
Go one word to the right |
|
|
Indent the selection one tab |
|
|
Go to the matching symbol in the current scope |
|
|
Increase the font size |
|
|
Decrease the number to the left of the cursor by 1, if it is a number |
|
|
Increase the number to the left of the cursor by 1, if it is a number |
|
|
Move selection down one line |
|
|
Move selection up one line |
|
|
Outdent selection one tab |
|
|
Turn on overwrite mode, or turn off if on |
|
|
Go down one page |
|
|
Go up one page |
|
|
Remove the current line |
|
|
Delete from the cursor to the end of the current line |
|
|
Delete from the beginning of the current line up to the cursor |
|
|
Delete the word to the left of the cursor |
|
|
Delete the word to the right of the cursor |
|
|
Replay previously recorded keystrokes |
|
|
Select all selectable content |
|
|
Include the next line down in the selection |
|
|
Include the next space to the left in the selection |
|
|
Include the rest of the current line in the selection, starting from the cursor |
|
|
Include the beginning of the current line in the selection, up to the cursor |
|
|
Include more matching selections that are after the selection |
|
|
Include more matching selections that are before the selection |
|
|
Include the next matching selection that is after the selection |
|
|
Include the next matching selection that is before the selection |
|
|
Select or find the next matching selection |
|
|
Select or find the previous matching selection |
|
|
Include from the cursor down to the end of the current page in the selection |
|
|
Include from the cursor up to the beginning of the current page in the selection |
|
|
Include the next space to the right of the cursor in the selection |
|
|
Include from the cursor down to the end of the current file in the selection |
|
|
Include from the cursor to the end of the current line in the selection |
|
|
Include from the beginning of the current line to the cursor in the selection |
|
|
Include from the cursor to the next matching symbol in the current scope |
|
|
Include from the cursor up to the beginning of the current file in the selection |
|
|
Include the next line up in the selection |
|
|
Include the next word to the left of the cursor in the selection |
|
|
Include the next word to the right of the cursor in the selection |
|
|
Show the Preferences tab |
|
|
Clear all previous selections |
|
|
Decrease the font size |
|
|
If multiple lines are selected, rearrange them into a sorted order |
|
|
Add a cursor at the end of the current line |
|
|
Move the contents of the cursor to the end of the line, to its own line |
|
|
Surround the selection with block comment characters, or remove them if they are there |
|
|
Add line comment characters at the start of each selected line, or remove them if they are there |
|
|
Fold code, or remove code folding if it is there |
|
|
Fold parent code, or remove folding if it is there |
|
|
Start keystroke recording, or stop if it is already recording |
|
|
Wrap words, or stop wrapping words if they are already wrapping |
|
|
Change the selection to all lowercase |
|
|
Change the selection to all uppercase |
|
|
Transpose the selection |
|
|
Unfold the selected code |
|
|
Unfold code folding for the entire file |
|
|
emmet
Description | Keybinding | Command |
---|---|---|
Evaluate a simple math expression (such as |
|
|
Expand CSS-like abbreviations into HTML, XML, or CSS code, depending on the current file's syntax |
|
|
Traverse expanded CSS-like abbreviations, by tab stop |
|
|
Go to the next editable code part |
|
|
Go to the previous editable code part |
|
|
Expand an abbreviation, and then place the current selection within the last element of the generated snippet |
|
|
Terminal
Description | Keybinding | Command |
---|---|---|
Open a new Terminal tab |
|
|
Switch between the editor and the Terminal tab |
|
|
Run and Debug
Description | Keybinding | Command |
---|---|---|
Build the current file |
|
|
Resume the current paused process |
|
|
Run or debug the current application |
|
|
Run or debug the last run file |
|
|
Step into the function that is next on the stack |
|
|
Step out of the current function scope |
|
|
Step over the current expression on the stack |
|
|
Stop running or debugging the current application |
|
|
Stop building the current file |
|
|