diff options
author | 2018-10-22 23:31:39 -0400 | |
---|---|---|
committer | 2018-10-22 23:31:39 -0400 | |
commit | 46c14ddbe14386a98a8172519b6236ee2443353a (patch) | |
tree | c2ded20d1d017aa4601da6ccd99a54c0b38e2412 /modules/textadept/menu.lua | |
parent | 9bbf8a1d38c31800a0fb70d062c1a728741ab544 (diff) | |
download | textadept-46c14ddbe14386a98a8172519b6236ee2443353a.tar.gz textadept-46c14ddbe14386a98a8172519b6236ee2443353a.zip |
Added module for recording, playing, saving, and loading keyboard macros.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r-- | modules/textadept/menu.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index 55c97ce4..2789f0b6 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -216,6 +216,16 @@ local default_menubar = { {_L['_Goto Bookmark...'], textadept.bookmarks.goto_mark}, }, { + title = _L['_Macros'], + {_L['_Start Recording'], textadept.macros.start_recording}, + {_L['Sto_p Recording'], textadept.macros.stop_recording}, + SEPARATOR, + {_L['_Play'], textadept.macros.play}, + SEPARATOR, + {_L['Sa_ve...'], textadept.macros.save}, + {_L['_Load...'], textadept.macros.load}, + }, + { title = _L['Quick _Open'], {_L['Quickly Open _User Home'], function() io.quick_open(_USERHOME) end}, {_L['Quickly Open _Textadept Home'], function() io.quick_open(_HOME) end}, |