From 8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 13 Jul 2011 20:51:17 -0400 Subject: Refactored key commands and added menu accelerators. Key commands are now in keys.conf and keys.osx.conf which are loaded by the _m.textadept.menu module. --- doc/manual/14_Appendix.md | 311 +++++++++++++++++++++++++--------------------- 1 file changed, 171 insertions(+), 140 deletions(-) (limited to 'doc/manual/14_Appendix.md') diff --git a/doc/manual/14_Appendix.md b/doc/manual/14_Appendix.md index 82ab7d69..83dab56c 100644 --- a/doc/manual/14_Appendix.md +++ b/doc/manual/14_Appendix.md @@ -2,146 +2,177 @@ ## Key Bindings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux / Win32Mac OSXCommand
File
Ctrl+NApple+NNew file
Ctrl+OApple+OOpen file
Alt+OCtrl+OOpen recent file
NoneNoneReload file
Ctrl+SApple+SSave file
Ctrl+Shift+SApple+Shift+SSave file as
Ctrl+WApple+WClose file
Ctrl+Shift+WApple+Shift+WClose all
NoneNoneLoad Session
NoneNoneSave Session
Alt+QApple+QQuit textadept
Edit
Ctrl+ZApple+ZUndo
Ctrl+YApple+Shift+ZRedo
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+AApple+ASelect All
Ctrl+ECtrl+MGo to matching brace
Ctrl+Shift+EApple+Shift+ESelect to matching brace
Ctrl+ReturnEscapeAutocomplete word in file
Ctrl+ICtrl+EscapeAutocomplete symbol for supported languages
Ctrl+HCtrl+HShow symbol apidoc for supported languages
Ctrl+QCtrl+QBlock comment/uncomment
NoneNoneDelete word
Ctrl+Shift+HCtrl+Apple+THighlight word occurances
NoneCtrl+TTranspose characters
NoneNoneConvert indentation
NoneCtrl+KCut to end of line
NoneCtrl+YPaste text cut
Alt+C, TCtrl+C, TEnclose word or selection in XML tag
Alt+C, Shift+TCtrl+C, Shift+TEnclose 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, TCtrl+S, TSelect 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, WCtrl+S, WSelect word
Alt+S, LCtrl+S, LSelect line
Alt+S, PCtrl+S, PSelect paragraph
Alt+S, SCtrl+S, SSelect scope (style)
Alt+S, GCtrl+S, GGrow selection by a character on each end
Alt+S, C, <char>Ctrl+S, C, <char>Select between characters
InsertInsertToggle overtype
Ctrl+Alt+Shift+ICtrl+Apple+Shift+IShow style
Search
Ctrl+FApple+FFind
F3Apple+GFind next
NoneApple+Shift+GFind prev
NoneApple+RReplace
Ctrl+Shift+FApple+IFind incremental
NoneApple+Shift+FFind in files
NoneCtrl+Apple+GGoto next file in list
NoneCtrl+Apple+Shift+GGoto prev file in list
Ctrl+GCtrl+GGoto line
Tools
F2F2Focus Lua command entry
Ctrl+RCtrl+RRun file
Ctrl+Shift+RCtrl+Shift+RCompile file
Alt+RCtrl+Apple+RFilter through shell command
TabTabExpand snippet or next placeholder or indent text
Alt+ICtrl+ISelect snippet to insert
Shift+TabShift+TabPrevious snippet placeholder or dedent text
Ctrl+Alt+ICtrl+Apple+ICancel current snippet
Buffers
Ctrl+BApple+BSwitch buffers
Ctrl+TabCtrl+TabNext buffer
Ctrl+Shift+TabCtrl+Shift+TabPrev buffer
Ctrl+Shift+B, EApple+Shift+B, EToggle show end of line
Ctrl+Shift+B, WApple+Shift+B, WToggle show whitespace
Ctrl+Shift+B, IApple+Shift+B, IToggle show indentation guides
Ctrl+Shift+B, TabApple+Shift+B, TabToggle use tabs or spaces
Ctrl+Shift+B, SpaceApple+Shift+B, SpaceToggle show whitespace
Ctrl+Shift+B, VApple+Shift+B, VToggle use virtual space
Ctrl+LCtrl+LSelect lexer
F5F5Refresh syntax highlighting
Split Views
Ctrl+Alt+V, NCtrl+V, NNext view
Ctrl+Alt+V, PCtrl+V, PPrev view
Ctrl+Alt+V, SCtrl+V, SSplit view horizontal
Ctrl+Alt+V, Shift+SCtrl+V, Shift+SSplit view vertica
Ctrl+Alt+V, WCtrl+V, WUnsplit view
Ctrl+Alt+V, Shift+WCtrl+V, Shift+WUnsplit all views
NoneNoneGrow split view
NoneNoneShrink split view
Ctrl+PlusCtrl+PlusZoom in
Ctrl+MinusCtrl+MinusZoom out
Ctrl+0Ctrl+0Zoom normal
Movement
RightRight
Ctrl+F
Next character
Shift+RightShift+Right
Ctrl+Shift+F
Select next character
Ctrl+RightCtrl+Right
Ctrl+Apple+F
Next word
Ctrl+Shift+RightCtrl+Shift+Right
Ctrl+Apple+Shift+F
Select next word
Alt+Shift+RightApple+Shift+RightRectangular select next character
LeftLeft
Ctrl+B
Prev character
Shift+LeftShift+Left
Ctrl+Shift+B
Select prev character
Ctrl+LeftCtrl+Left
Ctrl+Apple+B
Prev word
Ctrl+Shift+LeftCtrl+Shift+Left
Ctrl+Apple+Shift+B
Select prev word
Alt+Shift+LeftApple+Shift+LeftRectangular select prev character
DownDown
Ctrl+N
Next line
Shift+DownShift+Down
Ctrl+Shift+N
Select next line
Ctrl+DownCtrl+DownScroll line down
Ctrl+Shift+DownCtrl+Shift+DownRectangular select next line
UpUp
Ctrl+P
Next character
Shift+UpShift+Up
Ctrl+Shift+P
Select prev line
Ctrl+UpCtrl+UpScroll line up
Ctrl+Shift+UpCtrl+Shift+UpRectangular select prev line
HomeHome
Ctrl+A
Goto beginning of line
Shift+HomeShift+Home
Ctrl+Shift+A
Select to beginning of line
Ctrl+HomeCtrl+HomeGoto document start
Ctrl+Shift+HomeCtrl+Shift+HomeSelect to file start
Alt+Shift+HomeApple+Shift+HomeRectangular select to beginning of line
EndEnd
Ctrl+E
Goto end of line
Shift+EndShift+End
Ctrl+Shift+E
Select to end of line
Ctrl+EndCtrl+EndGoto file end
Ctrl+Shift+EndCtrl+Shift+EndSelect to file end
Alt+Shift+EndApple+Shift+EndRectangular select to end of line
Backspace
Shift+Backspace
Backspace
Shift+Backspace
Ctrl+H
Delete previous character
Ctrl+BackspaceCtrl+Backspace
Ctrl+Apple+H
Delete previous word
Ctrl+Shift+BackspaceCtrl+Shift+BackspaceDelete to beginning of line
DelDel
Ctrl+D
Delete next character
Ctrl+DelCtrl+Del
Ctrl+Apple+D
Delete next word
Ctrl+Shift+DelCtrl+Shift+DelDelete to end of line
Page UpPage UpPage up
Shift+Page UpShift+Page UpSelect page up
Alt+Shift+Page UpApple+Shift+Page UpRectangular select page up
Page DownPage DownPage down
Shift+Page DownShift+Page DownSelect page down
Alt+Shift+Page DownApple+Shift+Page DownRectangular select page down
+Linux / Win32 | Mac OSX | Command | +--------------|---------|---------| +**File** ||| +Ctrl+N |⌘N |New file +Ctrl+O |⌘O |Open file +Ctrl+Alt+O |⌘⌥O |Open recent file... +Ctrl+Shift+O|⌘⇧O |Reload file +Ctrl+S |⌘S |Save file +Ctrl+Shift+S|⌘⇧S |Save file as.. +Ctrl+W |⌘W |Close file +Ctrl+Shift+W|⌘⇧W |Close all files +None |None|Load session... +None |None|Load session... +Alt+Q |⌘Q |Quit + +**Edit** ||| +Ctrl+Z
Alt+Backspace|⌘Z |Undo +Ctrl+Y
Ctrl+Shift+Z |⌘⇧Z |Redo +Ctrl+X
Shift+Del |⌘X
⇧⌦|Cut +Ctrl+C
Ctrl+Ins |⌘C |Copy +Ctrl+V
Shift+Ins |⌘V |Paste +Ctrl+D |⌘D |Duplicate line +Del |⌦
^D |Delete +Ctrl+A |⌘A |Select all +Ctrl+M |^M |Match brace +Ctrl+Shift+M |^⇧M |Select to brace +Ctrl+Enter |^⎋ |Complete word +None |None |Delete word +Ctrl+Shift+H |⌘⇧H |Highlight word +Ctrl+Space |⌥⎋ |Complete symbol +Ctrl+H |^H |Show documentation +Ctrl+/ |^/ |Toggle block comment +Ctrl+T |^T |Transpose characters +Ctrl+Shift+J |^J |Join lines +None |None |Convert indentation +Alt+< |^< |Enclose in XML tags +Alt+> |^> |Enclose in single XML tag +Alt+" |^" |Enclose in double quotes +Alt+' |^' |Enclose in single quotes +Alt+( |^( |Enclose in parentheses +Alt+[ |^[ |Enclose in brackets +Alt+{ |^{ |Enclose in braces +Ctrl++ |⌘+ |Grow selection by 1 on either side +Ctrl+\_ |⌘\_ |Shrink selection by 1 on either side +Ctrl+< |⌘< |Select between XML tags +Ctrl+> |⌘> |Select in XML tag +Ctrl+" |⌘" |Select in double quotes +Ctrl+' |⌘' |Select in single quotes +Ctrl+( |⌘( |Select in parentheses +Ctrl+[ |⌘[ |Select in brackets +Ctrl+{ |⌘{ |Select in braces +None |None |Select word +Ctrl+Shift+L |⌘⇧L |Select line +Ctrl+Shift+P |⌘⇧P |Select paragraph +Ctrl+Shift+I |⌘⇧I |Select indented block +None |None |Select style + +**Search** ||| +Ctrl+F |⌘F |Find +Ctrl+G
F3 |⌘G |Find next +Ctrl+Shift+G
Shift+F3|⌘⇧G |Find previous +Ctrl+R |⌘R |Replace +Ctrl+Shift+R |⌘⇧R |Replace all +Ctrl+Alt+F |⌘⌥F |Find incremental +Ctrl+Shift+F |⌘⇧F |Find in files +Ctrl+Alt+G |⌘⌥G |Goto next file found +Ctrl+Alt+Shift+G |⌘⌥⇧G|Goto previous file found +Ctrl+J |⌘J |Jump to line + +**Tools** ||| +Ctrl+E |⌘E |Command entry +Ctrl+Alt+R |^R |Run +Ctrl+Alt+Shift+R|^⇧R |Compile +Ctrl+| |⌘||Filter text through +Tab |⇥ |Expand snippet or next placeholder +Ctrl+K |⌥⇥ |Insert snippet... +Shift+Tab |⇧⇥ |Previous snippet placeholder +Ctrl+Shift+K |⌥⇧⇥ |Cancel snippet +Ctrl+F2 |⌘F2 |Toggle bookmark +Ctrl+Shift+F2 |⌘⇧F2 |Clear bookmarks +F2 |F2 |Next bookark +Shift+F2 |⇧F2 |Previous bookmark +Alt+F2 |⌥F2 |Goto bookmark... +Ctrl+U |⌘U |Snapopen `_USERHOME` +Ctrl+Alt+U |⌘⌥U |Snapopen `_HOME` +Ctrl+Alt+Shift+O|⌘⌥⇧O |Snapopen current directory +Ctrl+I |⌘I |Show style + +**Buffer** ||| +Ctrl+Tab
Ctrl+PageDown |^\` |Next buffer +Ctrl+Shift+Tab
Ctrl+PageUp|^~ |Previous buffer +Ctrl+B |⌘B |Switch buffer +Ctrl+Alt+Enter |^↩ |Toggle view EOL +Ctrl+Alt+\\ |^\\ |Toggle wrap mode +Ctrl+Alt+Shift+I |^⇧I |Toggle show indent guides +Ctrl+Alt+Shift+T |^⇧T |Toggle use tabs +Ctrl+Alt+Space |^Space|Toggle view whitespace +Ctrl+Alt+Shift+V |^⇧V |Toggle virtual space +None |None |`CRLF` EOL mode +None |None |`CR` EOL mode +None |None |`LF` EOL mode +None |None |`UTF-8` encoding +None |None |`ASCII` encoding +None |None |`ISO-8859-1` encoding +None |None |`UTF-16` encoding +Ctrl+Alt+L |⌘⌥L |Select lexer... +F5 |F5 |Refresh syntax highlighting + +**View** ||| +Ctrl+Alt+Tab |^⇥ |Next view +Ctrl+Alt+Shift+Tab |^⇧⇥ |Previous view +Ctrl+Alt+Shift+S |^⇧S |Split vertical +Ctrl+Alt+S |^S |Split horizontal +Ctrl+Alt+W |^W |Unsplit view +Ctrl+Alt+Shift+W |^⇧W |Unsplit all views +Ctrl+Alt++
Ctrl+Alt+=|^+
^=|Grow view +Ctrl+Alt+- |^- |Shrink view +Ctrl+= |⌘= |Zoom in +Ctrl+- |⌘- |Zoom out +Ctrl+0 |⌘0 |Reset zoom + +**Help** ||| +F1 |F1 |Open manual +Shift+F1|⇧F1 |Open LuaDoc +None |None|About + +**Movement** ||| +Down |⇣
^N |Line down +Shift+Down |⇧⇣
^⇧N |Line down extend selection +Ctrl+Down |⌘↘ |Scroll line down +Alt+Shift+Down |⌥⇧⇣ |Line down extend rect. selection +Up |⇡
^P |Line up +Shift+Up |⇧⇡
^⇧P |Line up extend selection +Ctrl+Up |⌘↖ |Scroll line up +Alt+Shift+Up |⌥⇧⇡ |Line up extend rect. selection +Left |⇠
^B |Char left +Shift+Left |⇧⇠
^⇧B |Char left extend selection +Ctrl+Left |^⇠
^⌥B |Word left +Ctrl+Shift+Left |^⇧⇠
^⌥⇧B|Word left extend selection +Alt+Shift+Left |⌥⇧⇠ |Char left extend rect. selection +Right |⇢
^F |Char right +Shift+Right |⇧⇢
^⇧F |Char right extend selection +Ctrl+Right |^⇢
^⌥F |Word right +Ctrl+Shift+Right |^⇧⇢
^⌥⇧F|Word right extend selection +Alt+Shift+Right |⌥⇧⇢ |Char right extend rect. selection +Home |⌘⇠
^A |Line start +Shift+Home |⌘⇧⇠
^⇧A |Line start extend selection +Ctrl+Home |⌘⇡
↖ |Document start +Ctrl+Shift+Home |⌘⇧⇡
⇧↖ |Document start extend selection +Alt+Shift+Home |⌥⇧↖ |Line start extend rect. selection +End |⌘⇢
^E |Line end +Shift+End |⌘⇧⇢
^⇧E |Line end extend selection +Ctrl+End |⌘⇣
↘ |Document end +Ctrl+Shift+End |⌘⇧⇣
⇧↘ |Document end extend selection +Alt+Shift+End |⌥⇧↘ |Line end extend rect. selection +PageUp |⇞ |Page up +Shift+PageUp |⇧⇞ |Page up extend selection +Alt+Shift+PageUp |⌥⇧⇞ |Page up extend rect. selection +PageDown |⇟ |Page down +Shift+PageDown |⇧⇟ |Page down extend selection +Alt+Shift+PageDown |⌥⇧⇟ |Page down extend rect. selection +Ctrl+Del |⌥⌦ |Delete word right +Ctrl+Shift+Del |⌘⌦ |Delete line right +Ins |Ins |Toggle overtype +Backspace
Shift+Backspace|⌫
⇧⌫ |Delete back +Ctrl+Backspace |⌥⌫ |Delete word left +Ctrl+Shift+Backspace |⌘⌫ |Delete line left +Tab |⇥ |Insert tab or indent +Shift+Tab |⇧⇥ |Dedent +None |^K |Cut to line end +None |^L |Center line vertically ## Lua Patterns -- cgit v1.2.3