> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/payload-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/payload-studio/customization/keyboard-shortcuts.md).

# Keyboard Shortcuts

Implementing some of the  most common shortcuts, PayloadStudio's keyboard shortcuts are designed to save you time!&#x20;

<mark style="color:red;">PayloadStudio Pro</mark> takes this even further, supporting a variety of modes. VIM users can enjoy a full VIM keybinding experience right from the editor! \
Other modes include, EMACS, Sublime and VSCode!&#x20;

{% hint style="info" %}
Keybinding mode can be changed from within **Settings** > **Editor Settings** under the [**Keybindings**](/payload-studio/customization/editor-settings.md#keybindings) heading. <img src="/files/tlP9AaWgm2GpuqsRgbag" alt="Pro" data-size="line">
{% endhint %}

<figure><img src="/files/ryJvj0UAtoqKS9S3Z9RE" alt=""><figcaption><p>Settings > Editor Settings > Keybindings</p></figcaption></figure>

{% hint style="warning" %}
Some keyboard shortcuts will not be accessible when the PayloadStudio is set to modes like VIM or EMACS
{% endhint %}

![Help > Show Keybinds](/files/YvDUlCHiGV7pGpIhNPRV)

{% hint style="info" %}
View the Shortcuts list inside of PayloadStudio from the **Help** menu under **Show Keybinds**
{% endhint %}

<figure><img src="/files/kuTCdkPEYVT6NQyH1zO2" alt=""><figcaption></figcaption></figure>

## Default Keybindings

### \[ Go to next error ]&#x20;

Windows: Alt-E&#x20;

Mac: F4

### \[ Go to previous error ]&#x20;

Windows: Alt-Shift-E&#x20;

Mac: Shift-F4

### \[ Select all ]&#x20;

Windows: Ctrl-A&#x20;

Mac: Command-A

### \[ Go to line... ]&#x20;

Windows: Ctrl-L&#x20;

Mac: Command-L

### \[ Toggle fold widget ]&#x20;

Windows: F2&#x20;

Mac: F2

### \[ Toggle parent fold widget ]&#x20;

Windows: Alt-F2&#x20;

Mac: Alt-F2

### \[ Fold other ]&#x20;

Windows: Alt-0&#x20;

Mac: Command-Option-0

### \[ Unfold all ]&#x20;

Windows: Alt-Shift-0&#x20;

Mac: Command-Option-Shift-0

### \[ Find next ]&#x20;

Windows: Ctrl-K&#x20;

Mac: Command-G

### \[ Find previous ]&#x20;

Windows: Ctrl-Shift-K&#x20;

Mac: Command-Shift-G

### \[ Select or find next ]&#x20;

Windows: Alt-K&#x20;

Mac: Ctrl-G

### \[ Select or find previous ]

Windows: Alt-Shift-K&#x20;

Mac: Ctrl-Shift-G

### \[ Find ]&#x20;

Windows: Ctrl-F&#x20;

Mac: Command-F

### \[ Select to start ]&#x20;

Windows: Ctrl-Shift-Home&#x20;

Mac: Command-Shift-Home|Command-Shift-Up

### \[ Select to start ]&#x20;

Windows: Ctrl-Shift-Home&#x20;

Mac: Command-Shift-Home|Command-Shift-Up

### \[ Go to start ]&#x20;

Windows: Ctrl-Home&#x20;

Mac: Command-Home|Command-Up

### \[ Go to start ]&#x20;

Windows: Ctrl-Home&#x20;

Mac: Command-Home|Command-Up

### \[ Select up ]&#x20;

Windows: Shift-Up&#x20;

Mac: Shift-Up|Ctrl-Shift-P

### \[ Select up ]&#x20;

Windows: Shift-Up&#x20;

Mac: Shift-Up|Ctrl-Shift-P

### \[ Go line up ]&#x20;

Windows: Up&#x20;

Mac: Up|Ctrl-P

### \[ Go line up ]&#x20;

Windows: Up&#x20;

Mac: Up|Ctrl-P

### \[ Select to end ]&#x20;

Windows: Ctrl-Shift-End&#x20;

Mac: Command-Shift-End|Command-Shift-Down

### \[ Select to end ]&#x20;

Windows: Ctrl-Shift-End&#x20;

Mac: Command-Shift-End|Command-Shift-Down

### \[ Go to end ]&#x20;

Windows: Ctrl-End&#x20;

Mac: Command-End|Command-Down

### \[ Go to end ]&#x20;

Windows: Ctrl-End&#x20;

Mac: Command-End|Command-Down

### \[ Select down ]&#x20;

Windows: Shift-Down&#x20;

Mac: Shift-Down|Ctrl-Shift-N

### \[ Select down ]&#x20;

Windows: Shift-Down&#x20;

Mac: Shift-Down|Ctrl-Shift-N

### \[ Go line down ]&#x20;

Windows: Down&#x20;

Mac: Down|Ctrl-N

### \[ Go line down ]&#x20;

Windows: Down&#x20;

Mac: Down|Ctrl-N

### \[ Select word left ]&#x20;

Windows: Ctrl-Shift-Left&#x20;

Mac: Option-Shift-Left

### \[ Go to word left ]&#x20;

Windows: Ctrl-Left&#x20;

Mac: Option-Left

### \[ Select to line start ]&#x20;

Windows: Alt-Shift-Left&#x20;

Mac: Command-Shift-Left|Ctrl-Shift-A

### \[ Select to line start ]&#x20;

Windows: Alt-Shift-Left&#x20;

Mac: Command-Shift-Left|Ctrl-Shift-A

### \[ Go to line start ]&#x20;

Windows: Alt-Left|Home&#x20;

Mac: Command-Left|Home|Ctrl-A

### \[ Go to line start ]&#x20;

Windows: Alt-Left|Home&#x20;

Mac: Command-Left|Home|Ctrl-A

### \[ Go to line start ]&#x20;

Windows: Alt-Left|Home&#x20;

Mac: Command-Left|Home|Ctrl-A

### \[ Select left ]&#x20;

Windows: Shift-Left&#x20;

Mac: Shift-Left|Ctrl-Shift-B

### \[ Select left ]&#x20;

Windows: Shift-Left&#x20;

Mac: Shift-Left|Ctrl-Shift-B

### \[ Go to left ]&#x20;

Windows: Left&#x20;

Mac: Left|Ctrl-B

### \[ Go to left ]&#x20;

Windows: Left&#x20;

Mac: Left|Ctrl-B

### \[ Select word right ]&#x20;

Windows: Ctrl-Shift-Right&#x20;

Mac: Option-Shift-Right

### \[ Go to word right ]&#x20;

Windows: Ctrl-Right&#x20;

Mac: Option-Right

### \[ Select to line end ]&#x20;

Windows: Alt-Shift-Right&#x20;

Mac: Command-Shift-Right|Shift-End|Ctrl-Shift-E

### \[ Select to line end ]&#x20;

Windows: Alt-Shift-Right&#x20;

Mac: Command-Shift-Right|Shift-End|Ctrl-Shift-E

### \[ Go to line end ]&#x20;

Windows: Alt-Right|End&#x20;

Mac: Command-Right|End|Ctrl-E

### \[ Go to line end ]&#x20;

Windows: Alt-Right|End&#x20;

Mac: Command-Right|End|Ctrl-E

### \[ Go to line end ]&#x20;

Windows: Alt-Right|End&#x20;

Mac: Command-Right|End|Ctrl-E

### \[ Select right ]&#x20;

Windows: Shift-Right&#x20;

Mac: Shift-Right

### \[ Go to right ]&#x20;

Windows: Right

Mac: Right|Ctrl-F

### \[ Go to right ]&#x20;

Windows: Right&#x20;

Mac: Right|Ctrl-F

### \[ Page down ]&#x20;

Mac: Option-PageDown

### \[ Go to page down ]&#x20;

Windows: PageDown Mac: PageDown|Ctrl-V

### \[ Go to page down ]&#x20;

Windows: PageDown Mac: PageDown|Ctrl-V

### \[ Page up ]&#x20;

Mac: Option-PageUp

### \[ Toggle recording ]&#x20;

Windows: Ctrl-Alt-E&#x20;

Mac: Command-Option-E

### \[ Replay macro ]&#x20;

Windows: Ctrl-Shift-E&#x20;

Mac: Command-Shift-E

### \[ Jump to matching ]&#x20;

Windows: Ctrl-|Ctrl-P&#x20;

Mac: Command-\\

### \[ Select to matching ]&#x20;

Windows: Ctrl-Shift-|Ctrl-Shift-P&#x20;

Mac: Command-Shift-\\

### \[ Expand to matching ]

&#x20;Windows: Ctrl-Shift-M&#x20;

Mac: Ctrl-Shift-M

### \[ Remove line ]&#x20;

Windows: Ctrl-D&#x20;

Mac: Command-D

### \[ Duplicate selection ]&#x20;

Windows: Ctrl-Shift-D

Mac: Command-Shift-D

### \[ Sort lines ]&#x20;

Windows: Ctrl-Alt-S&#x20;

Mac: Command-Alt-S

### \[ Toggle comment ]&#x20;

Windows: Ctrl-/&#x20;

Mac: Command-/

### \[ Toggle block comment ]&#x20;

Windows: Ctrl-Shift-/&#x20;

Mac: Command-Shift-/

### \[ Modify number up ]&#x20;

Windows: Ctrl-Shift-Up&#x20;

Mac: Alt-Shift-Up

### \[ Modify number down ]&#x20;

Windows: Ctrl-Shift-Down&#x20;

Mac: Alt-Shift-Down

### \[ Replace ]&#x20;

Windows: Ctrl-H&#x20;

Mac: Command-Option-F

### \[ Undo ]&#x20;

Windows: Ctrl-Z&#x20;

Mac: Command-Z

### \[ Redo ]&#x20;

Windows: Ctrl-Shift-Z|Ctrl-Y&#x20;

Mac: Command-Shift-Z|Command-Y

### \[ Copy lines up ]&#x20;

Windows: Alt-Shift-Up&#x20;

Mac: Command-Option-Up

### \[ Move lines up ]&#x20;

Windows: Alt-Up&#x20;

Mac: Option-Up

### \[ Copy lines down ]&#x20;

Windows: Alt-Shift-Down&#x20;

Mac: Command-Option-Down

### \[ Move lines down ]&#x20;

Windows: Alt-Down&#x20;

Mac: Option-Down

### \[ Delete ]&#x20;

Windows: Delete&#x20;

Mac: Delete|Ctrl-D|Shift-Delete

### \[ Backspace ]&#x20;

Windows: Shift-Backspace|Backspace&#x20;

Mac: Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H

### \[ Remove to line start ]

&#x20;Windows: Alt-Backspace&#x20;

Mac: Command-Backspace

### \[ Remove to line end ]&#x20;

Windows: Alt-Delete&#x20;

Mac: Ctrl-K|Command-Delete

### \[ Remove to line end ]&#x20;

Windows: Alt-Delete&#x20;

Mac: Ctrl-K|Command-Delete

### \[ Remove word left ]&#x20;

Windows: Ctrl-Backspace&#x20;

Mac: Alt-Backspace|Ctrl-Alt-Backspace

### \[ Remove word left ]&#x20;

Windows: Ctrl-Backspace

Mac: Alt-Backspace|Ctrl-Alt-Backspace

### \[ Remove word right ]&#x20;

Windows: Ctrl-Delete&#x20;

Mac: Alt-Delete

### \[ Outdent ]&#x20;

Windows: Shift-Tab&#x20;

Mac: Shift-Tab

### \[ Block outdent ]&#x20;

Windows: Ctrl-\[&#x20;

Mac: Ctrl-\[

### \[ Block indent ]&#x20;

Windows: Ctrl-]&#x20;

Mac: Ctrl-]

### \[ Transpose letters ]&#x20;

Windows: Alt-Shift-X&#x20;

Mac: Ctrl-T

### \[ To uppercase ]&#x20;

Windows: Ctrl-U&#x20;

Mac: Ctrl-U

### \[ To lowercase ]&#x20;

Windows: Ctrl-Shift-U&#x20;

Mac: Ctrl-Shift-U

### \[ Expand to line ]&#x20;

Windows: Ctrl-Shift-L

Mac: Command-Shift-L

### \[ Open command pallete ]&#x20;

Windows: F1&#x20;

Mac: F1

### \[ Add cursor above ]&#x20;

Windows: Ctrl-Alt-Up&#x20;

Mac: Ctrl-Alt-Up

### \[ Add cursor below ]&#x20;

Windows: Ctrl-Alt-Down&#x20;

Mac: Ctrl-Alt-Down

### \[ Add cursor above (skip current) ]&#x20;

Windows: Ctrl-Alt-Shift-Up&#x20;

Mac: Ctrl-Alt-Shift-Up

### \[ Add cursor below (skip current) ]&#x20;

Windows: Ctrl-Alt-Shift-Down&#x20;

Mac: Ctrl-Alt-Shift-Down

### \[ Select more before ]&#x20;

Windows: Ctrl-Alt-Left&#x20;

Mac: Ctrl-Alt-Left

### \[ Select more after ]&#x20;

Windows: Ctrl-Alt-Right&#x20;

Mac: Ctrl-Alt-Right

### \[ Select next before ]&#x20;

Windows: Ctrl-Alt-Shift-Left&#x20;

Mac: Ctrl-Alt-Shift-Left

### \[ Select next after ]&#x20;

Windows: Ctrl-Alt-Shift-Right&#x20;

Mac: Ctrl-Alt-Shift-Right

### \[ Split into lines ]&#x20;

Windows: Ctrl-Alt-L&#x20;

Mac: Ctrl-Alt-L

### \[ Align cursors ]&#x20;

Windows: Ctrl-Alt-A&#x20;

Mac: Ctrl-Alt-A

### \[ Find all ]&#x20;

Windows: Ctrl-Alt-K&#x20;

Mac: Ctrl-Alt-G
