aboutsummaryrefslogtreecommitdiffstats
path: root/auto_word_select_mode.js
diff options
context:
space:
mode:
Diffstat (limited to 'auto_word_select_mode.js')
-rw-r--r--auto_word_select_mode.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/auto_word_select_mode.js b/auto_word_select_mode.js
index c9f3c43..2287d5e 100644
--- a/auto_word_select_mode.js
+++ b/auto_word_select_mode.js
@@ -41,7 +41,7 @@ var PLUGIN_INFO =
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/auto_word_select_mode.js</updateURL>
<author mail="snaka.gml@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/snaka72/">snaka</author>
<license>MIT style license</license>
- <version>1.0.0</version>
+ <version>1.1.0</version>
<detail><![CDATA[
== Subject ==
Add auto word select mode.
@@ -194,6 +194,18 @@ mappings.add(
}
);
+mappings.add(
+ [modes.AUTO_WORD_SELECT],
+ ["v"],
+ "Change visual mode.",
+ function() {
+ // FIXME:
+ // cannot return to modes.AUTO_WORD_SELECT when <Esc><Esc>
+ mappings.get(modes.NORMAL, "i").action();
+ mappings.get(modes.CARET, "v").action();
+ }
+);
+
mappings.add( [modes.AUTO_WORD_SELECT],
["l"],
"Move to right word and select.",