aboutsummaryrefslogtreecommitdiffstats
path: root/resizable_textarea.js
diff options
context:
space:
mode:
authorsuVene2009-01-12 15:40:09 +0000
committersuVene2009-01-12 15:40:09 +0000
commit39b590555ce0aaa110407d189221e1702bed20c2 (patch)
tree5480b8d9b9e8885842cfb3309a17f93fd3df227b /resizable_textarea.js
parent754938e2f2043a7f42952356e3b231db3b19cc33 (diff)
downloadvimperator-plugins-39b590555ce0aaa110407d189221e1702bed20c2.tar.bz2
oops.[28332]
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28334 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'resizable_textarea.js')
-rw-r--r--resizable_textarea.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/resizable_textarea.js b/resizable_textarea.js
index 7958a06..8e218be 100644
--- a/resizable_textarea.js
+++ b/resizable_textarea.js
@@ -166,8 +166,7 @@ commands.addUserCommand(
true
);
-mappings.remove("<A-r>");
-mappings.addUserMap(
+mappings.add(
[ modes.INSERT, modes.TEXTAREA ],
[ "<M-r>", "<A-r>" ],
"Allows you to resize current textarea.",