# OS X Key Bindings (Default)

This page lists the default key bindings on Mac OS X. There are also pages that list the default key bindings on Windows/Linux. On any platform, you can also choose to use Emacs key bindings. As any of these key bindings schemes can be customized, these pages stand as references to the defaults. To view the current list of key bindings for your Komodo installation (including any custom key bindings), select Help|List Key Bindings. The different key binding schemes are either set according to the platform on which you installed Komodo, or they are selected in Edit|Preferences|Editor|Keybindings.

Note: The "Meta" key referred to in the following list may be better known to Mac OS X users as the "Command" key.

## OS X Scheme

### Code Browser

Locate current scope...

Ctrl+K, Ctrl+L

### Code Intelligence

Find Symbol

Ctrl+K, Ctrl+F

### Debugger

Clear All Breakpoints

Meta+Ctrl+\

Disable/Enable Breakpoint

Meta+\

New Session

Meta+Ctrl+Y

Run Script

Meta+Ctrl+R

Run to Cursor

Meta+Ctrl+I

Show Current Statement

Meta+Shift+C

Start

Meta+Shift+.
Meta+>

Start/Find/Hide Default Interactive Shell

Meta+Escape

Step In

Meta+Shift+I

Step Out

Meta+Shift+T

Step Over

Meta+Shift+O

Stop

Meta+Ctrl+P

### Editor

Back

Shift+Backspace

Backspace

Backspace

Beginning of Line (first char/first column)

Meta+Left
Home

Cancel autocomplete

Escape

Copy

Meta+C

Cut

Meta+X

Cut rest of line

Ctrl+Backspace
Ctrl+Delete

Delete

Delete

Delete Word Left

Meta+Backspace

Delete Word Right

Meta+Delete

End of Line

Meta+Right
End

Go to End of Document

Meta+Down
Meta+End

Go to End of word

Meta+E

Go to Line...

Meta+L

Go to Next Bookmark

F2

Go to Next Line

Down

Go to Previous Bookmark

Shift+F2

Go to Previous Line

Up

Go to Top of Document

Meta+Up
Meta+Home

Insert Newline

Return

Insert Newline (align with current line)

Meta+Shift+Return

Insert Newline (continue comments)

Shift+Return

Insert Newline (no favors)

Meta+Return

Insert Next Key as Literal Character

Meta+M

Join current and next lines

Ctrl+K, Ctrl+J

Move Back Part of Word

Meta+Alt+Right

Move Forward Part of Word

Meta+Alt+Left

Move Left One Character

Left

Move One Character Right

Right

Move One Word Left

Alt+Left

Move One Word Right

Alt+Right

Page Down

Page_Down

Page Up

Page_Up

Paste

Meta+V

Paste and Select

Meta+Shift+V

Redo

Meta+Shift+Z

Reflow paragraph(s)

Meta+Shift+Q

Remove All Bookmarks

Meta+Shift+F2

Repeat next keystroke N times

Ctrl+K, Ctrl+U

Scroll One Line Down

Meta+Alt+Down

Scroll One Line Up

Meta+Alt+Up

Select All

Meta+A

Select Next Character

Shift+Right

Select Next Word

Alt+Shift+Right

Select Page Down

Shift+Page_Down

Select Page Up

Shift+Page_Up

Select Previous Character

Shift+Left

Select Previous Word

Alt+Shift+Left

Select Rectangular Next Character

Ctrl+Shift+Right

Select Rectangular Page Down

Ctrl+Shift+Page_Down

Select Rectangular Page Up

Ctrl+Shift+Page_Up

Select Rectangular Previous Character

Ctrl+Shift+Left

Select Rectangular to Beginning of Line (first char/first column)

Ctrl+Shift+Home

Select Rectangular to End of Line

Ctrl+Shift+End

Select Rectangular to Next Line

Ctrl+Shift+Down

Select Rectangular to Previous Line

Ctrl+Shift+Up

Select to Beginning of Line (first char/first column)

Shift+Home
Meta+Shift+Left

Select to End of Document

Meta+Shift+Down

Select to End of Line

Shift+End
Meta+Shift+Right

Select to Next Line

Shift+Down

Select to Previous Line

Shift+Up

Select to Top of Document

Meta+Shift+Up

Toggle Bookmark

Meta+F2

Toggle Overtype/Insert Mode

Insert

Transpose Current and Previous Characters

Meta+T

Trigger preceding autocomplete list or calltip

Meta+J

Undo

Meta+Z

Zoom Font Size Down

Meta+Shift+-

Zoom Font Size Up

Meta+Shift+=

### Find

Find Next

Meta+G

Find Next Result

Meta+Shift+F3

Find Next Selected

Meta+F3

Find Previous

Meta+Shift+G

Find in Files...

Meta+Shift+F

Find...

Meta+F

Incremental Search

Meta+I

Incremental Search Backwards

Meta+Shift+I

Replace...

Meta+=

### General

Close All Windows

Meta+Ctrl+W

Close Project

Ctrl+W

Close Window

Meta+W

Edit Properties

Alt+Return

Least Recently Viewed File

Meta+Shift+F6

Most Recently Viewed File

Meta+F6

New File (default type)

Meta+N

New File...

Meta+Ctrl+N

New Project...

Meta+Shift+N

Next File

Meta+Page_Down

Open File...

Meta+O

Open Project...

Meta+Ctrl+O

Preferences...

Meta+,

Previous File

Meta+Page_Up

Quit

Meta+Q

Refresh Status

Ctrl+K, R

Revert

Meta+Ctrl+U

Save

Meta+S

Save All

Meta+Ctrl+S

Save As...

Meta+Shift+S

### Help

Alternate Help on Selection

Ctrl+/

Help...

Meta+Shift+/
Meta+?

Language-Specific Help on Selection

Meta+/

### Macro

End Recording

Ctrl+K, )

Execute Last Macro

Ctrl+K, _

Start/Resume Recording

Ctrl+K, (

### Source Code

Comment Region

Ctrl+3

Complete Word

F5
Alt+Escape

Complete Word (backwards)

Shift+F5
Alt+Shift+Escape

Convert Selection to Lower Case

Meta+Shift+U

Convert Selection to Upper Case

Meta+U

Find All Functions

Meta+F8

Find Next Function

F8

Find Previous Function

Shift+F8

Jump to Matching Brace

Meta+]

Select Block

Meta+Ctrl+L

Select to Matching Brace

Meta+Shift+]

Un-comment Region

Ctrl+Shift+3

### Source Control

Add File

Ctrl+K, A

Add Folder

Ctrl+K, Shift+A

Commit Changes

Ctrl+K, C

Commit Changes in Folder

Ctrl+K, Shift+C

Compare

Ctrl+K, D

Compare Files in Folder

Ctrl+K, Shift+D

Edit

Ctrl+K, E

Remove File

Ctrl+K, O

Revert Changes

Ctrl+K, V

Revert Changes in Folder

Ctrl+K, Shift+V

Update

Ctrl+K, U

Update Folder

Ctrl+K, Shift+U

### Tools

Run Command...

Meta+R

### User Interface

Browser Preview

Ctrl+K, Ctrl+V

Focus on Editor

Ctrl+Shift+E

Show/Hide Code Browser Tab

Ctrl+Shift+C

Show/Hide End of Lines

Meta+Shift+7

Show/Hide Output Pane

Ctrl+Shift+O

Show/Hide Projects Sidebar

Ctrl+Shift+P

Show/Hide Toolbar Button Text

Meta+Shift+B

Show/Hide Toolbox Sidebar

Ctrl+Shift+T

Show/Hide Whitespace

Meta+Shift+8

Split view of tab

Meta+Shift+'
Meta+"

View Source

Ctrl+K, Ctrl+S

View/Hide Indentation Guides

Meta+Shift+5

View/Hide Line Numbers

Meta+Shift+4

Word-wrap long lines

Meta+Shift+9

### Snippets

<b> Bold

Ctrl+K, Ctrl+H, B

<i> Italic

Ctrl+K, Ctrl+H, I

<u> Underline

Ctrl+K, Ctrl+H, U

<br/> Break Line

Ctrl+K, Ctrl+H, Return

<h1> Header 1

Ctrl+K, Ctrl+H, 1

<h3> Header 2

Ctrl+K, Ctrl+H, 2

<h3> Header 3

Ctrl+K, Ctrl+H, 3

<h4> Header 4

Ctrl+K, Ctrl+H, 4

<h5> Header 5

Ctrl+K, Ctrl+H, 5

<h6> Header 6

Ctrl+K, Ctrl+H, 6

<li> List Item

Ctrl+K, Ctrl+H, L

<ol> Ordered List

Ctrl+K, Ctrl+H, Ctrl+O

<ul> Unordered List

Ctrl+K, Ctrl+H, Ctrl+U

<p> Paragraph w/Dialog

Ctrl+K, Ctrl+H, Ctrl+P

<p> Paragraph

Ctrl+K, Ctrl+H, P

<table> Table 1 row 1 col

Ctrl+K, Ctrl+H, Ctrl+T

<tr> Table Row

Ctrl+K, Ctrl+H, R

<td> Table Cell

Ctrl+K, Ctrl+H, D

<pre> Preformatted Text

Ctrl+K, Ctrl+H, T

<A> URI Link w/Dialog

Ctrl+K, Ctrl+H, Ctrl+A

<A> URI Link

Ctrl+K, Ctrl+H, A

<form> Form w/Dialog

Ctrl+K, Ctrl+H, Ctrl+F

<input/> Form Input w/Dialog

Ctrl+K, Ctrl+H, Ctrl+I

<select> Form Select w/Dialog

Ctrl+K, Ctrl+H, Ctrl+S

<option> Form Option w/Dialog

Ctrl+K, Ctrl+H, O

<textarea> Form Text Area w/Dialog

Ctrl+K, Ctrl+H, Ctrl+Q