diff options
author | 2011-07-16 18:32:31 -0400 | |
---|---|---|
committer | 2011-07-16 18:32:31 -0400 | |
commit | 8aa962b71944332c61289551a81913d313ab5e04 (patch) | |
tree | ca64ae5e5549c8946d61e289908ea981f882dfad | |
parent | 2594ee774a3011386bd02398494819a2c6ca27c1 (diff) | |
download | textadept-8aa962b71944332c61289551a81913d313ab5e04.tar.gz textadept-8aa962b71944332c61289551a81913d313ab5e04.zip |
Add key commands that were previously undefined.
-rw-r--r-- | doc/manual/14_Appendix.md | 14 | ||||
-rw-r--r-- | modules/textadept/keys.conf | 25 | ||||
-rw-r--r-- | modules/textadept/keys.osx.conf | 27 |
3 files changed, 38 insertions, 28 deletions
diff --git a/doc/manual/14_Appendix.md b/doc/manual/14_Appendix.md index dfdb9d30..78e93128 100644 --- a/doc/manual/14_Appendix.md +++ b/doc/manual/14_Appendix.md @@ -28,7 +28,7 @@ Del |⌦<br/>^D |Delete Ctrl+A |⌘A |Select all Ctrl+M |^M |Match brace Ctrl+Enter |^⎋ |Complete word -None |None |Delete word +Alt+Del |^⌦ |Delete word Ctrl+Shift+H |⌘⇧H |Highlight word Ctrl+/ |^/ |Toggle block comment Ctrl+T |^T |Transpose characters @@ -41,13 +41,13 @@ Ctrl+' |⌘' |Select in single quotes Ctrl+( |⌘( |Select in parentheses Ctrl+[ |⌘[ |Select in brackets Ctrl+{ |⌘{ |Select in braces -None |None |Select word +Ctrl+Shift+D |⌘⇧D |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 -None |None |Upper case selection -None |None |Lower case selection +Ctrl+Y |⌘⇧Y |Select style +Ctrl+Alt+U |^U |Upper case selection +Ctrl+Alt+Shift+U |^⇧U |Lower case selection Alt+< |^< |Enclose as XML tags Alt+> |^> |Enclose as single XML tag Alt+" |^" |Enclose in double quotes @@ -90,7 +90,7 @@ 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` +None |None |Snapopen `_HOME` Ctrl+Alt+Shift+O|⌘⌥⇧O |Snapopen current directory Ctrl+I |⌘I |Show style @@ -103,7 +103,7 @@ None |None |Tab width: 3 None |None |Tab width: 4 None |None |Tab width: 8 Ctrl+Alt+Shift+T |^⇧T |Toggle use tabs -None |None |Convert indentation +Ctrl+Alt+I |^I |Convert indentation None |None |`CRLF` EOL mode None |None |`CR` EOL mode None |None |`LF` EOL mode diff --git a/modules/textadept/keys.conf b/modules/textadept/keys.conf index b6602837..a18de479 100644 --- a/modules/textadept/keys.conf +++ b/modules/textadept/keys.conf @@ -3,9 +3,9 @@ % Define additional key commands in _USERHOME/modules/textadept/keys.lua. % Unassigned keys (~ denotes keys reserved by the operating system): -% c: A B C D N p qQ T ~ V X Y ) ] } * \n +% c: A B C N p qQ T ~ V X Y ) ] } * \n % a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpP QrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=~~\n\s -% ca: aAbBcCdDeE F hHi jJkK LmMnN pPqQ t Uv xXyYzZ_"'()[]{}<>* / +% ca: aAbBcCdDeE F hH jJkK LmMnN pPqQ t v xXy zZ_"'()[]{}<>* / % CTRL = 'c' (Control ^) % ALT = 'a' (Alt) @@ -15,6 +15,11 @@ % Control, Alt, Shift, and 'a' = 'caA' % Control, Alt, Shift, and '\t' = 'cas\t' +% Multiple keys separated by spaces can be assigned to the same command. +% Keychains are not supported. Please define chains manually. + +% If you use a different locale, please use the localized versions of commands. + % File gtk-new = cn gtk-open = co @@ -35,11 +40,11 @@ gtk-cut = cx gtk-copy = cc gtk-paste = cv Duplicate Line = cd -gtk-delete = +gtk-delete = del gtk-select-all = ca Match Brace = cm Complete Word = c\n -Delete Word = +Delete Word = adel Highlight Word = cH Toggle Block Comment = c/ Transpose Characters = ct @@ -53,14 +58,14 @@ Select in Single Quotes = c' Select in Parentheses = c( Select in Brackets = c[ Select in Braces = c{ -Select Word = +Select Word = cD Select Line = cL Select Paragraph = cP Select Indented Block = cI -Select Style = +Select Style = cY % Selection -Upper Case Selection = -Lower Case Selection = +Upper Case Selection = cau +Lower Case Selection = caU Enclose as XML Tags = a< Enclose as Single XML Tag = a> Enclose in Single Quotes = a' @@ -107,7 +112,7 @@ Previous Bookmark = sf2 Goto Bookmark... = af2 % Snapopen Snapopen User Home = cu -Snapopen Textadept Home = cau +Snapopen Textadept Home = Snapopen Current Directory = caO Show Style = ci @@ -121,7 +126,7 @@ Tab width: 3 = Tab width: 4 = Tab width: 8 = Toggle Use Tabs = caT -Convert Indentation = +Convert Indentation = cai % EOL Mode CRLF = CR = diff --git a/modules/textadept/keys.osx.conf b/modules/textadept/keys.osx.conf index 5cbc9567..786c8d65 100644 --- a/modules/textadept/keys.osx.conf +++ b/modules/textadept/keys.osx.conf @@ -3,9 +3,9 @@ % Define additional key commands in _USERHOME/modules/textadept/keys.lua. % Unassigned keys (~ denotes keys reserved by the operating system): -% c: A B C D ~ JkK ~M N p ~ tT U V XyY ) ] } * ~~\n~~ -% ca: aAbBcC~DeE F ~HiIjJkK L~MnN pPq~rRsStT UvVwWxXyYzZ_"'()[]{}<>*+-/= \n~~ -% m: cC D gG Hi J K L oO qQ uUv xXyYzZ_ ) ] } * / +% c: A B C ~ JkK ~M N p ~ tT U V Xy ) ] } * ~~\n~~ +% ca: aAbBcC~DeE F ~HiIjJkK L~MnN pPq~rRsStTuUvVwWxXyYzZ_"'()[]{}<>*+-/= \n~~ +% m: cC D gG H J K L oO qQ v xXyYzZ_ ) ] } * / % CTRL = 'c' (Command ⌘) % ALT = 'a' (Alt/option ⌥) @@ -15,6 +15,11 @@ % Command, Alt, Shift, and 'a' = 'caA' % Command, Alt, Shift, and '\t' = 'cas\t' +% Multiple keys separated by spaces can be assigned to the same command. +% Keychains are not supported. Please define chains manually. + +% If you use a different locale, please use the localized versions of commands. + % File gtk-new = cn gtk-open = co @@ -35,11 +40,11 @@ gtk-cut = cx gtk-copy = cc gtk-paste = cv Duplicate Line = cd -gtk-delete = +gtk-delete = del gtk-select-all = ca Match Brace = mm Complete Word = mesc -Delete Word = +Delete Word = mdel Highlight Word = cH Toggle Block Comment = c/ Transpose Characters = mt @@ -53,14 +58,14 @@ Select in Single Quotes = c' Select in Parentheses = c( Select in Brackets = c[ Select in Braces = c{ -Select Word = +Select Word = cD Select Line = cL Select Paragraph = cP Select Indented Block = cI -Select Style = +Select Style = cY % Selection -Upper Case Selection = -Lower Case Selection = +Upper Case Selection = mu +Lower Case Selection = mU Enclose as XML Tags = m< Enclose as Single XML Tag = m> Enclose in Single Quotes = m' @@ -107,7 +112,7 @@ Previous Bookmark = sf2 Goto Bookmark... = af2 % Snapopen Snapopen User Home = cu -Snapopen Textadept Home = cau +Snapopen Textadept Home = Snapopen Current Directory = caO Show Style = ci @@ -121,7 +126,7 @@ Tab width: 3 = Tab width: 4 = Tab width: 8 = Toggle Use Tabs = mT -Convert Indentation = +Convert Indentation = mi % EOL Mode CRLF = CR = |