Re: Lua Rocks

From: Robert <ro....at.web.de>
Date: Fri, 21 May 2010 11:24:17 +0200

Probably an easier way to test (or use) this is a personal init.lua (attached).
It will load the standard modules, then everything in common/modules,
then load the key_commands (both the standard module and in
.textadept) and finally process other files with additional snippets.

As an example, put Brian's multi-edit module
(http://www.caladbolg.net/textadeptwiki/index.php?n=Main.Multiedit) in
modules/common and assign keys in ~/.textadept/key_commands.lua.
I have
local m_multiedit = _m.common.multiedit
keys.cj = { m_multiedit.add_position }
keys.cJ = { m_multiedit.add_multiple }
keys.caj = { m_multiedit.selectAll }

Thanks, Brian, for writing this!
This really should be included again.

Robert

-- 
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to textadept.at.googlegroups.com.
To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
For more options, visit this group at http://groups.google.com/group/textadept?hl=en.

Received on Fri 21 May 2010 - 05:24:17 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:45:49 EST