diff options
author | 2010-03-20 18:05:14 -0400 | |
---|---|---|
committer | 2010-03-20 18:05:14 -0400 | |
commit | d8cc38cc49c6def21befc585e12530b55569ea7b (patch) | |
tree | bf9614c066b73c5f3e1088915e0c175f35ef81e5 /core/ext/key_commands.lua | |
parent | 0ddb039366844b1e5720601335b4bc278fa3e777 (diff) | |
download | textadept-d8cc38cc49c6def21befc585e12530b55569ea7b.tar.gz textadept-d8cc38cc49c6def21befc585e12530b55569ea7b.zip |
Can change lexer from a filtered list dialog.
Diffstat (limited to 'core/ext/key_commands.lua')
-rw-r--r-- | core/ext/key_commands.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua index 5aadf6c9..f318c08d 100644 --- a/core/ext/key_commands.lua +++ b/core/ext/key_commands.lua @@ -121,7 +121,7 @@ if not MAC then -- Windows and Linux key commands. --[[ - C: D H I J K L M U + C: D H I J K M 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 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 @@ -240,7 +240,8 @@ if not MAC then ['\t'] = { toggle_setting, 'use_tabs' }, [' '] = { toggle_setting, 'view_ws' }, } - keys['f5'] = { 'colourise', b, 0, -1 } + keys.cl = { t.mime_types.select_lexer } + keys['f5'] = { 'colourise', b, 0, -1 } -- Views keys.cav = { @@ -402,7 +403,8 @@ else ['\t'] = { toggle_setting, 'use_tabs' }, [' '] = { toggle_setting, 'view_ws' }, } - keys['f5'] = { 'colourise', b, 0, -1 } + keys.cl = { t.mime_types.select_lexer } + keys['f5'] = { 'colourise', b, 0, -1 } -- Views keys.cv = { |