From 10013f2ef76c005bccdbee31ed7793172dc9f1c5 Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 30 Mar 2011 20:05:29 +0900 Subject: ヘルプを新形式にかきかきかえ --- caret-hint.js | 150 ++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 110 insertions(+), 40 deletions(-) (limited to 'caret-hint.js') diff --git a/caret-hint.js b/caret-hint.js index ad374cb..ba6772e 100644 --- a/caret-hint.js +++ b/caret-hint.js @@ -1,5 +1,5 @@ /* NEW BSD LICENSE {{{ -Copyright (c) 2009-2010, anekos. +Copyright (c) 2009-2011, anekos. All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -32,66 +32,136 @@ THE POSSIBILITY OF SUCH DAMAGE. }}} */ -// PLUGIN_INFO {{{ -let PLUGIN_INFO = - - Caret Hint - Move caret position by hint - Hint を使ってキャレット位置を移動 - 1.4.0 - anekos - new BSD License (Please read the source code comments of this plugin) - 修正BSDライセンス (ソースコードのコメントを参照してください) - https://github.com/vimpr/vimperator-plugins/raw/master/caret-hint.js - 3.0 - 3.1 - + + anekos + New BSD License + +

+ + g:caret_hint_key + let g:caret_hint_key = key +

Hint mode key. Move caret position to the head of selected element. - let g:caret_hint_tail_key = 'C': + (default: 'c') +

+
+ + g:caret_hint_tail_key + let g:caret_hint_tail_key = key +

Hint mode key. Move caret position to the tail of selected element. - let g:caret_hint_select_key = '' (default: disabled): + (default: 'C') +

+
+ + g:caret_hint_select_key + let g:caret_hint_select_key = key +

Hint mode key. Move caret position to the head of selected element, and select. - let g:caret_hint_select_tail_key = 'S': + (default: disabled) +

+
+ + g:caret_hint_select_tail_key + let g:caret_hint_select_tail_key = key +

Hint mode key. Move caret position to the tail of selected element, and select. - let g:caret_hint_swap_key = 's': + (default: 'S') +

+
+ + g:caret_hint_swap_key + let g:caret_hint_swap_key = key +

The key mapping for Visual-mode. Swap caret position head to tail. - If apply empty string ('') to these variables, these mapping or mode are not enabled. - == Global Variables 2 == - let g:caret_hint_xpath = '//*': + (default: 's') +

+
+

If apply empty string ('') to these variables, these mapping or mode are not enabled.

+ + g:caret_hint_xpath + let g:caret_hint_xpath = XPath +

The XPath for hint-mode selection. - ]]> - + + + + anekos + New BSD License + +

+ + g:caret_hint_key + let g:caret_hint_key = key +

Hint モードのキー 選択した要素の先頭にキャレットを移動する - let g:caret_hint_tail_key = 'C': + (default: 'c') +

+
+ + g:caret_hint_tail_key + let g:caret_hint_tail_key = key +

Hint モードのキー 選択した要素の後尾にキャレットを移動する - let g:caret_hint_select_key = '' (デフォルト: 無効): + (default: 'C') +

+
+ + g:caret_hint_select_key + let g:caret_hint_select_key = key +

Hint モードのキー 選択した要素の先頭にキャレットを移動し、要素を選択する - let g:caret_hint_select_tail_key = 'S': + (default: disabled) +

+
+ + g:caret_hint_select_tail_key + let g:caret_hint_select_tail_key = key +

Hint モードのキー 選択した要素の後尾にキャレットを移動し、要素を選択する - let g:caret_hint_swap_key = 's': + (default: 'S') +

+
+ + g:caret_hint_swap_key + let g:caret_hint_swap_key = key +

VISUAL モード用のキーマッピング - キャレットの位置を交換する(先頭 <=> 後尾) - これらの値に空文字列を与えれば、マッピングやモードは有効にされません。 - == Global Variables 2 == - let g:caret_hint_xpath = '//*': + キャレットの位置を交換する(先頭 ⇔ 後尾) + (default: 's') +

+
+

これらの値に空文字列を与えれば、マッピングやモードは有効にされません。

+ + g:caret_hint_xpath + let g:caret_hint_xpath = XPath +

ヒント対象要素を選択するための XPath - ]]> -; +

+
+
+; // }}} /* _\|/_ -- cgit v1.2.3