diff options
author | John Mastro <john.b.mastro@gmail.com> | 2013-07-20 12:44:06 -0700 |
---|---|---|
committer | John Mastro <john.b.mastro@gmail.com> | 2013-07-20 12:44:06 -0700 |
commit | f5ef4e1756a9855de30f4d8d702b201a7672edd1 (patch) | |
tree | 0715c39ac5ff24292b71fca5a7fea8458f2f53f6 /readme.org | |
parent | dbf4e2768a5aca45f36c804ae16d0717a5717991 (diff) | |
download | trident-mode.el-f5ef4e1756a9855de30f4d8d702b201a7672edd1.tar.gz trident-mode.el-f5ef4e1756a9855de30f4d8d702b201a7672edd1.tar.bz2 trident-mode.el-f5ef4e1756a9855de30f4d8d702b201a7672edd1.zip |
Some more commands
Add a couple expansion buffer commands (for copying to the kill
ring and saving the expansion) and sps-compile-buffer-to-file
which does pretty much as the name says.
Diffstat (limited to 'readme.org')
-rw-r--r-- | readme.org | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -73,8 +73,13 @@ don't send it to the browser for evaluation: - =sps-expand-buffer= - =sps-expand-dwim= -From within an expansion buffer you can press "x" to send the JavaScript to the -browser. +From within an expansion buffer you can press =e= to send the JavaScript to the +browser, =w= to copy it to the kill ring, =s= to save it to a file (you'll be +prompted for the destination) or =q= to dismiss the buffer. The copy command, +=w=, acts on the region if it's active or the entire buffer otherwise. + +Additionally, you can use =M-x sps-compile-buffer-to-file= to expand the +current buffer and save the generated code directly to a file. *** Code evaluation commands |