diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2017-03-19 13:40:58 +0100 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2017-03-19 13:40:58 +0100 |
commit | 0ee751f8135e07175fa15ef11225a1d5ccaa5956 (patch) | |
tree | 22446a402817e28f7f7c5362aa5c35c1f939e05a | |
parent | 1946a98eac87f35876bde087a24a2c1bb45437ab (diff) | |
download | plan9port-0ee751f8135e07175fa15ef11225a1d5ccaa5956.tar.gz plan9port-0ee751f8135e07175fa15ef11225a1d5ccaa5956.tar.bz2 plan9port-0ee751f8135e07175fa15ef11225a1d5ccaa5956.zip |
Add Cmd+S for save/put
-rw-r--r-- | src/cmd/acme/text.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c index b8c33d12..ec72b4a8 100644 --- a/src/cmd/acme/text.c +++ b/src/cmd/acme/text.c @@ -781,6 +781,11 @@ texttype(Text *t, Rune r) typecommit(t); undo(t, nil, nil, TRUE, 0, nil, 0); return; + case Kcmd+'s': /* %S: save/put file */ + typecommit(t); + put(&t->w->body, nil, nil, XXX, XXX, nil, 0); + return; + Tagdown: |