# Appendix ## Key Bindings
Linux / Win32 | Mac OSX | Command |
---|---|---|
File | ||
Ctrl+N | Apple+N | New file |
Ctrl+O | Apple+O | Open file |
Alt+O | Ctrl+O | Open recent file |
None | None | Reload file |
Ctrl+S | Apple+S | Save file |
Ctrl+Shift+S | Apple+Shift+S | Save file as |
Ctrl+W | Apple+W | Close file |
Ctrl+Shift+W | Apple+Shift+W | Close all |
None | None | Load Session |
None | None | Save Session |
Alt+Q | Apple+Q | Quit textadept |
Edit | ||
Ctrl+Z | Apple+Z | Undo |
Ctrl+Y | Apple+Shift+Z | Redo |
Ctrl+X Shift+Del | Apple+X Shift+Del | Cut |
Ctrl+C Ctrl+Shift+Insert | Apple+C Ctrl+Shift+Insert | Copy |
Ctrl+V Shift+Insert | Apple+V Shift+Insert | Paste |
Ctrl+A | Apple+A | Select All |
Ctrl+E | Ctrl+M | Go to matching brace |
Ctrl+Shift+E | Apple+Shift+E | Select to matching brace |
Ctrl+Return | Escape | Autocomplete word in file |
Ctrl+I | Ctrl+Escape | Autocomplete symbol for supported languages |
Ctrl+H | Ctrl+H | Show symbol apidoc for supported languages |
Ctrl+Q | Ctrl+Q | Block comment/uncomment |
None | None | Delete word |
Ctrl+Shift+H | Ctrl+Apple+T | Highlight word occurances |
None | Ctrl+T | Transpose characters |
None | None | Convert indentation |
None | Ctrl+K | Cut to end of line |
None | Ctrl+Y | Paste text cut |
Alt+C, T | Ctrl+C, T | Enclose word or selection in XML tag |
Alt+C, Shift+T | Ctrl+C, Shift+T | Enclose word or selection in single XML tag |
Alt+C, " | Ctrl+C, " | Enclose word or selection in double quotes |
Alt+C, ' | Ctrl+C, ' | Enclose word or selection in single quotes |
Alt+C, ( | Ctrl+C, ( | Enclose word or selection in parenthesis |
Alt+C, [ | Ctrl+C, [ | Enclose word or selection in brackets |
Alt+C, { | Ctrl+C, { | Enclose word or selection in braces |
Alt+C, C, <char> | Ctrl+C, C, <char> | Enclose word or selection in character |
Alt+S, T | Ctrl+S, T | Select between XML tags |
Alt+S, " | Ctrl+S, " | Select between double quotes |
Alt+S, ' | Ctrl+S, ' | Select between single quotes |
Alt+S, ( | Ctrl+S, ( | Select between parenthesis |
Alt+S, [ | Ctrl+S, [ | Select between brackets |
Alt+S, { | Ctrl+S, { | Select between braces |
Alt+S, W | Ctrl+S, W | Select word |
Alt+S, L | Ctrl+S, L | Select line |
Alt+S, P | Ctrl+S, P | Select paragraph |
Alt+S, S | Ctrl+S, S | Select scope (style) |
Alt+S, G | Ctrl+S, G | Grow selection by a character on each end |
Alt+S, C, <char> | Ctrl+S, C, <char> | Select between characters |
Insert | Insert | Toggle overtype |
Ctrl+Alt+Shift+I | Ctrl+Apple+Shift+I | Show style |
Search | ||
Ctrl+F | Apple+F | Find |
F3 | Apple+G | Find next |
None | Apple+Shift+G | Find prev |
None | Apple+R | Replace |
Ctrl+Shift+F | Apple+I | Find incremental |
None | Apple+Shift+F | Find in files |
None | Ctrl+Apple+G | Goto next file in list |
None | Ctrl+Apple+Shift+G | Goto prev file in list |
Ctrl+G | Ctrl+G | Goto line |
Tools | ||
F2 | F2 | Focus Lua command entry |
Ctrl+R | Ctrl+R | Run file |
Ctrl+Shift+R | Ctrl+Shift+R | Compile file |
Alt+R | Ctrl+Apple+R | Filter through shell command |
Tab | Tab | Expand snippet or next placeholder or indent text |
Alt+I | Ctrl+I | Select snippet to insert |
Shift+Tab | Shift+Tab | Previous snippet placeholder or dedent text |
Ctrl+Alt+I | Ctrl+Apple+I | Cancel current snippet |
Buffers | ||
Ctrl+B | Apple+B | Switch buffers |
Ctrl+Tab | Ctrl+Tab | Next buffer |
Ctrl+Shift+Tab | Ctrl+Shift+Tab | Prev buffer |
Ctrl+Shift+B, E | Apple+Shift+B, E | Toggle show end of line |
Ctrl+Shift+B, W | Apple+Shift+B, W | Toggle show whitespace |
Ctrl+Shift+B, I | Apple+Shift+B, I | Toggle show indentation guides |
Ctrl+Shift+B, Tab | Apple+Shift+B, Tab | Toggle use tabs or spaces |
Ctrl+Shift+B, Space | Apple+Shift+B, Space | Toggle show whitespace |
Ctrl+Shift+B, V | Apple+Shift+B, V | Toggle use virtual space |
Ctrl+L | Ctrl+L | Select lexer |
F5 | F5 | Refresh syntax highlighting |
Split Views | ||
Ctrl+Alt+V, N | Ctrl+V, N | Next view |
Ctrl+Alt+V, P | Ctrl+V, P | Prev view |
Ctrl+Alt+V, S | Ctrl+V, S | Split view horizontal |
Ctrl+Alt+V, Shift+S | Ctrl+V, Shift+S | Split view vertica |
Ctrl+Alt+V, W | Ctrl+V, W | Unsplit view |
Ctrl+Alt+V, Shift+W | Ctrl+V, Shift+W | Unsplit all views |
None | None | Grow split view |
None | None | Shrink split view |
Ctrl+Plus | Ctrl+Plus | Zoom in |
Ctrl+Minus | Ctrl+Minus | Zoom out |
Ctrl+0 | Ctrl+0 | Zoom normal |
Movement | ||
Right | Right Ctrl+F | Next character |
Shift+Right | Shift+Right Ctrl+Shift+F | Select next character |
Ctrl+Right | Ctrl+Right Ctrl+Apple+F | Next word |
Ctrl+Shift+Right | Ctrl+Shift+Right Ctrl+Apple+Shift+F | Select next word |
Alt+Shift+Right | Apple+Shift+Right | Rectangular select next character |
Left | Left Ctrl+B | Prev character |
Shift+Left | Shift+Left Ctrl+Shift+B | Select prev character |
Ctrl+Left | Ctrl+Left Ctrl+Apple+B | Prev word |
Ctrl+Shift+Left | Ctrl+Shift+Left Ctrl+Apple+Shift+B | Select prev word |
Alt+Shift+Left | Apple+Shift+Left | Rectangular select prev character |
Down | Down Ctrl+N | Next line |
Shift+Down | Shift+Down Ctrl+Shift+N | Select next line |
Ctrl+Down | Ctrl+Down | Scroll line down |
Ctrl+Shift+Down | Ctrl+Shift+Down | Rectangular select next line |
Up | Up Ctrl+P | Next character |
Shift+Up | Shift+Up Ctrl+Shift+P | Select prev line |
Ctrl+Up | Ctrl+Up | Scroll line up |
Ctrl+Shift+Up | Ctrl+Shift+Up | Rectangular select prev line |
Home | Home Ctrl+A | Goto beginning of line |
Shift+Home | Shift+Home Ctrl+Shift+A | Select to beginning of line |
Ctrl+Home | Ctrl+Home | Goto document start |
Ctrl+Shift+Home | Ctrl+Shift+Home | Select to file start |
Alt+Shift+Home | Apple+Shift+Home | Rectangular select to beginning of line |
End | End Ctrl+E | Goto end of line |
Shift+End | Shift+End Ctrl+Shift+E | Select to end of line |
Ctrl+End | Ctrl+End | Goto file end |
Ctrl+Shift+End | Ctrl+Shift+End | Select to file end |
Alt+Shift+End | Apple+Shift+End | Rectangular select to end of line |
Backspace Shift+Backspace | Backspace Shift+Backspace Ctrl+H | Delete previous character |
Ctrl+Backspace | Ctrl+Backspace Ctrl+Apple+H | Delete previous word |
Ctrl+Shift+Backspace | Ctrl+Shift+Backspace | Delete to beginning of line |
Del | Del Ctrl+D | Delete next character |
Ctrl+Del | Ctrl+Del Ctrl+Apple+D | Delete next word |
Ctrl+Shift+Del | Ctrl+Shift+Del | Delete to end of line |
Page Up | Page Up | Page up |
Shift+Page Up | Shift+Page Up | Select page up |
Alt+Shift+Page Up | Apple+Shift+Page Up | Rectangular select page up |
Page Down | Page Down | Page down |
Shift+Page Down | Shift+Page Down | Select page down |
Alt+Shift+Page Down | Apple+Shift+Page Down | Rectangular select page down |