diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/ext/key_commands.lua | 3 | ||||
-rw-r--r-- | core/ext/key_commands_std.lua | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua index 3af58a59..f9c108db 100644 --- a/core/ext/key_commands.lua +++ b/core/ext/key_commands.lua @@ -6,7 +6,7 @@ module('textadept.key_commands', package.seeall) --[[ - C: G Q + C: G A: A C G J K L O Q W X Z CS: C D G J L Q R S T U W SA: A C D E G H I J K L M O Q R S T W X Z @@ -122,6 +122,7 @@ keys.csm = { m_editing.match_brace, 'select' } keys['c '] = { m_editing.autocomplete_word, '%w_' } keys['a '] = { m_editing.autocomplete_word_from_dict, '/usr/share/dict/cracklib-small' } +keys.cq = { m_editing.block_comment } keys.cl = { m_editing.goto_line } keys.ck = { m_editing.smart_cutcopy, } keys.csk = { m_editing.smart_cutcopy, 'copy' } diff --git a/core/ext/key_commands_std.lua b/core/ext/key_commands_std.lua index e73b6ce2..a8f730dd 100644 --- a/core/ext/key_commands_std.lua +++ b/core/ext/key_commands_std.lua @@ -7,7 +7,7 @@ module('textadept.key_commands_std', package.seeall) --[[ - C: B D H J K L Q R U + C: B D H J K L R U A: A B C D E F G H J K L M N P Q R S T U V W X Y Z CS: A B C D F G H J K L M N O Q R 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 @@ -56,6 +56,7 @@ local m_editing = _m.textadept.editing keys.ce = { m_editing.match_brace } keys.cse = { m_editing.match_brace, 'select' } keys['c\n'] = { m_editing.autocomplete_word, '%w_' } +keys.cq = { m_editing.block_comment } -- TODO: { m_editing.current_word, 'delete' } -- TODO: { m_editing.transpose_chars } -- TODO: { m_editing.squeeze } |