1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 10:47:58 +01:00

Fix 'c' and 's' VISUAL mode mappings.

--HG--
branch : mode-refactoring
This commit is contained in:
Doug Kearns
2010-10-09 02:05:00 +11:00
parent 301a8e5377
commit ce10a9af13

View File

@@ -696,7 +696,7 @@ const Editor = Module("editor", {
function (count) { function (count) {
dactyl.assert(editor.isTextArea); dactyl.assert(editor.isTextArea);
editor.executeCommand("cmd_cut"); editor.executeCommand("cmd_cut");
modes.replace(modes.VISUAL); modes.replace(modes.INSERT, modes.TEXTAREA);
}); });
mappings.add([modes.VISUAL], mappings.add([modes.VISUAL],