From ce10a9af13ec6951dfe643df2c49cc22bce874e1 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 9 Oct 2010 02:05:00 +1100 Subject: [PATCH] Fix 'c' and 's' VISUAL mode mappings. --HG-- branch : mode-refactoring --- common/content/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/editor.js b/common/content/editor.js index 02140809..0244d5f9 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -696,7 +696,7 @@ const Editor = Module("editor", { function (count) { dactyl.assert(editor.isTextArea); editor.executeCommand("cmd_cut"); - modes.replace(modes.VISUAL); + modes.replace(modes.INSERT, modes.TEXTAREA); }); mappings.add([modes.VISUAL],