aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/keys.lua1
-rw-r--r--modules/textadept/menu.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 6206d456..9a94ab53 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -366,6 +366,7 @@ keys[not OSX and not CURSES and 'cao' or 'cmo'] = io.open_recent_file
keys[not OSX and (not CURSES and 'cO' or 'mo') or 'mO'] = io.reload_file
keys[not OSX and 'cs' or 'ms'] = io.save_file
keys[not OSX and (not CURSES and 'cS' or 'cms') or 'mS'] = io.save_file_as
+-- TODO: io.save_all_files
keys[not OSX and 'cw' or 'mw'] = io.close_buffer
keys[not OSX and (not CURSES and 'cW' or 'cmw') or 'mW'] = io.close_all_buffers
-- TODO: textadept.sessions.load
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 2833311a..e064e4e0 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -24,6 +24,7 @@ local menubar = {
{_L['Re_load'], io.reload_file},
{_L['_Save'], io.save_file},
{_L['Save _As'], io.save_file_as},
+ {_L['Save All'], io.save_all_files},
SEPARATOR,
{_L['_Close'], io.close_buffer},
{_L['Close All'], io.close_all_buffers},