diff options
author | anekos | 2011-03-30 17:58:43 +0900 |
---|---|---|
committer | anekos | 2011-03-30 20:06:05 +0900 |
commit | 40da8ca53898600cc7fad9161ccf1535882818c6 (patch) | |
tree | 46e6f0bec6e39036a6e2f6474c5b4fac559ecaf4 /caret-hint.js | |
parent | cdff9657f0ca146d9ff69bbb17980510e9f88848 (diff) | |
download | vimperator-plugins-40da8ca53898600cc7fad9161ccf1535882818c6.tar.bz2 |
自動マッピングをとりあえず削除
Diffstat (limited to 'caret-hint.js')
-rw-r--r-- | caret-hint.js | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/caret-hint.js b/caret-hint.js index 4693945..0f5826c 100644 --- a/caret-hint.js +++ b/caret-hint.js @@ -38,7 +38,7 @@ let PLUGIN_INFO = <name>Caret Hint</name> <description>Move caret position by hint</description> <description lang="ja">Hint を使ってキャレット位置を移動</description> - <version>1.3.1</version> + <version>1.3.0</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -110,32 +110,10 @@ let PLUGIN_INFO = let selectHeadMode = gval('caret_hint_select_key', ''); let selectTailMode = gval('caret_hint_select_tail_key', 'S'); let swapKey = gval('caret_hint_swap_key', 's'); - let extendLeader = gval('extend_leader', 'c'); let hintXPath = liberator.globalVariables.caret_hint_xpath || '//*'; let extendMode = false; - [headMode, tailMode, selectHeadMode, selectTailMode].forEach( - function(mode) { - let map = extendLeader + ';' + mode; - if (!mode) - return; - mappings.remove(modes.NORMAL, map); // for debug - mappings.remove(modes.VISUAL, map); // for debug - mappings.addUserMap( - [modes.NORMAL, modes.VISUAL], - [map], - 'desc', - function () { - extendMode = true; - hints.show(mode); - }, - { - } - ); - } - ); - [ [[true, false], headMode], [[false, false], tailMode], |