diff options
author | 2011-07-13 20:51:17 -0400 | |
---|---|---|
committer | 2011-07-13 20:51:17 -0400 | |
commit | 8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29 (patch) | |
tree | ffe7a2317ddb80c558f28039a3120c8a3876afaa /doc/manual/10_Advanced.md | |
parent | 57101e2742f9385602c367fc054363c1e52e33a2 (diff) | |
download | textadept-8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29.tar.gz textadept-8ecc8aa21bf61063a8e2d0ef29a78d4a62616d29.zip |
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.
Diffstat (limited to 'doc/manual/10_Advanced.md')
-rw-r--r-- | doc/manual/10_Advanced.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/manual/10_Advanced.md b/doc/manual/10_Advanced.md index a24c0bdf..274f6293 100644 --- a/doc/manual/10_Advanced.md +++ b/doc/manual/10_Advanced.md @@ -2,11 +2,11 @@ ## Command Entry -Access to the Lua state is available through the command entry. Press `F2` to -access it. It is useful for debugging, inspecting, and entering buffer or view -commands. If you try to cause instability in Textadept's Lua state, you might -very well succeed so be careful. For more information, see the -[scripting](11_Scripting.html) page. +Access to the Lua state is available through the command entry. Press `Ctrl+E` +(`⌘E` on Mac OSX) to access it. It is useful for debugging, inspecting, and +entering buffer or view commands. If you try to cause instability in Textadept's +Lua state, you might very well succeed so be careful. For more information, see +the [scripting](11_Scripting.html) page. Abbreviated commands for the `buffer`, `view` and `gui` are available. So `buffer:append_text('foo')` can be shortened to `append_text('foo')`. `print()` @@ -18,8 +18,8 @@ Lua's `print()`. #### Tab Completion Tab-completion for functions, variables, tables, etc. is available. Press the -`Tab` key to display a list of available completions. Use the arrow keys to make -a selection and press `Enter` to insert it. +`Tab` (`⇥`) key to display a list of available completions. Use the arrow keys +to make a selection and press `Enter` (`↩`) to insert it.  @@ -39,8 +39,8 @@ buffer (or a selection). You could do the following from the command entry: ls={}; for l in buffer:get_text():gmatch('[^\n]+') do ls[#ls+1]=l end; table.sort(ls); buffer:set_text(table.concat(ls, '\n')) -A simpler way would be to press `Alt+R` (`Ctrl+Apple+R` on Mac OSX), enter the -shell command `sort`, and hit `Enter`. +A simpler way would be to press `Ctrl+|` (`⌘|` on Mac OSX), enter the shell +command `sort`, and hit `Enter` (`↩`). The standard input (stdin) for shell commands is determined as follows: |