aboutsummaryrefslogtreecommitdiff
path: root/core/ext/key_commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-03-20 18:05:14 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-03-20 18:05:14 -0400
commitd8cc38cc49c6def21befc585e12530b55569ea7b (patch)
treebf9614c066b73c5f3e1088915e0c175f35ef81e5 /core/ext/key_commands.lua
parent0ddb039366844b1e5720601335b4bc278fa3e777 (diff)
downloadtextadept-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.lua8
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 = {