aboutsummaryrefslogtreecommitdiff
path: root/core/ext/key_commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-12 19:19:30 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-12 19:19:30 -0500
commitb65a6cfa7c8f5f7add9c35f50a681ee6ddd8b78d (patch)
tree1eca2c03bad0e51a23bf97f50e8b877d84f98390 /core/ext/key_commands.lua
parente264aaa58985876b2adc984a182c9e9d03416cd9 (diff)
downloadtextadept-b65a6cfa7c8f5f7add9c35f50a681ee6ddd8b78d.tar.gz
textadept-b65a6cfa7c8f5f7add9c35f50a681ee6ddd8b78d.zip
Use Tab and Shift+Tab for snippets instead of [MODIFIERS]+I.
Diffstat (limited to 'core/ext/key_commands.lua')
-rw-r--r--core/ext/key_commands.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua
index 9ece674e..f8110e4c 100644
--- a/core/ext/key_commands.lua
+++ b/core/ext/key_commands.lua
@@ -20,9 +20,9 @@ if not MAC then
-- Windows and Linux key commands.
--[[
- C: B D H J K L U
+ C: B D H I J K L U
A: A B C D E F G H J K L M N P R S T U V W X Y Z
- CS: A B C D F G H J K L M N O Q T U V X Y Z
+ CS: A B C D F G H I J K L M N O Q T U V X Y Z
SA: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
CA: A B C D E F G H J K L M N O Q R S T U V W X Y Z
CSA: A B C D E F G H J K L M N O P Q R S T U V W X Y Z
@@ -107,11 +107,11 @@ if not MAC then
keys.csr = { m_run.compile }
-- Snippets
local m_snippets = _m.textadept.lsnippets
- keys.ci = { m_snippets.insert }
- keys.csi = { m_snippets.prev }
- keys.cai = { m_snippets.cancel_current }
- keys.casi = { m_snippets.list }
- keys.ai = { m_snippets.show_style }
+ keys['\t'] = { m_snippets.insert }
+ keys['s\t'] = { m_snippets.prev }
+ keys.cai = { m_snippets.cancel_current }
+ keys.casi = { m_snippets.list }
+ keys.ai = { m_snippets.show_style }
-- Multiple Line Editing
local m_mlines = _m.textadept.mlines
keys.cm = {}
@@ -201,9 +201,9 @@ else
--[[
C: J L U W X Z
- A: B D E H J K L U
+ A: B D E H I J K L U
CS: C D G H I J K L M O Q S T U V W X Y Z
- SA: A B C D F H J K L M N O Q R T U V X
+ SA: A B C D F H I J K L M N O Q R T U V X
CA: A C E G J K L M N O Q R S T U V W X Y Z
CSA: A C D E G H J K L M N O P Q R S T U V W X Y Z
]]--
@@ -287,11 +287,11 @@ else
keys.csr = { m_run.compile }
-- Snippets
local m_snippets = _m.textadept.lsnippets
- keys.ai = { m_snippets.insert }
- keys.sai = { m_snippets.prev }
- keys.cai = { m_snippets.cancel_current }
- keys.casi = { m_snippets.list }
- keys.ci = { m_snippets.show_style }
+ keys['\t'] = { m_snippets.insert }
+ keys['s\t'] = { m_snippets.prev }
+ keys.cai = { m_snippets.cancel_current }
+ keys.casi = { m_snippets.list }
+ keys.ci = { m_snippets.show_style }
-- Multiple Line Editing
local m_mlines = _m.textadept.mlines
keys.am = {}