From 40da8ca53898600cc7fad9161ccf1535882818c6 Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 30 Mar 2011 17:58:43 +0900 Subject: 自動マッピングをとりあえず削除 --- caret-hint.js | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'caret-hint.js') 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 = Caret Hint Move caret position by hint Hint を使ってキャレット位置を移動 - 1.3.1 + 1.3.0 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -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], -- cgit v1.2.3