-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tagsrch from Vim 8.0 to 8.1 #226
Merged
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*tagsrch.txt* For Vim バージョン 8.0. Last change: 2016 Sep 20 | ||
*tagsrch.txt* For Vim バージョン 8.1. Last change: 2018 May 04 | ||
|
||
|
||
VIMリファレンスマニュアル by Bram Moolenaar | ||
|
@@ -34,30 +34,30 @@ | |
ことである。後述するタグスタックについても読むとよい。 | ||
|
||
*:ta* *:tag* *E426* *E429* | ||
:[count]ta[g][!] {ident} | ||
tagsファイル内の情報を用いて、{ident}の定義へジャンプ | ||
する。{ident}はタグスタックに積まれる。[!]については | ||
|tag-!|を参照。 | ||
{ident}は正規表現を使用できる。|tag-regexp|を参照。 | ||
{ident}に対してマッチするタグが複数ある場合、[count]番 | ||
:[count]ta[g][!] {name} | ||
tagsファイル内の情報を用いて、{name}の定義へジャンプす | ||
る。{name}はタグスタックに積まれる。[!]について | ||
は|tag-!|を参照。 | ||
{name}は正規表現を使用できる。|tag-regexp|を参照。 | ||
{name}に対してマッチするタグが複数ある場合、[count]番 | ||
目のタグへジャンプする。[count]が指定されないときは最 | ||
初のタグへジャンプする。他のマッチするタグへジャンプす | ||
るには|tag-matchlist|を参照。 | ||
|
||
g<LeftMouse> *g<LeftMouse>* | ||
<C-LeftMouse> *<C-LeftMouse>* *CTRL-]* | ||
CTRL-] カーソルの下のキーワードを定義している場所にジャンプす | ||
る。":tag {ident}" と同様であるが、{ident}はカーソルの | ||
る。":tag {name}" と同様であるが、{name}はカーソルの | ||
下、もしくは次に現われるキーワードである。 | ||
{ident}に対してマッチするタグが複数ある場合、[count]番 | ||
{name}に対してマッチするタグが複数ある場合、[count]番 | ||
目のタグへジャンプする。[count]が指定されないときは最 | ||
初のタグへジャンプする。他のマッチするタグへジャンプす | ||
るには|tag-matchlist|を参照。 | ||
{Vi: identifier after the cursor} | ||
|
||
*v_CTRL-]* | ||
{Visual}CTRL-] ":tag {ident}" と同様であるが、{ident}はハイライトされ | ||
ているテキストである。{Vi にはない} | ||
{Visual}CTRL-] ":tag {name}" と同様であるが、{name}はハイライトされて | ||
いるテキストである。{Vi にはない} | ||
|
||
*telnet-CTRL-]* | ||
CTRL-]はtelnetの標準エスケープキーである。タグにジャンプしようとCTRL-]を打つと、 | ||
|
@@ -80,7 +80,7 @@ CTRL-]はtelnetの標準エスケープキーである。タグにジャンプ | |
|
||
カレントファイルが変わっても、優先度のリストはほとんどの場合変化しないので注意 | ||
すること。これは ":tnext" を使うときの混乱を避けるためである。優先度のリストは | ||
":tag {ident}" を使ったときに変化する。 | ||
":tag {name}" を使ったときに変化する。 | ||
|
||
以下の場合は ":tag " で大文字小文字を無視した検索は行われません: | ||
- 'ignorecase' オプションがオフで 'tagcase' が "followic" の時 | ||
|
@@ -165,7 +165,7 @@ FuncAの呼び出し部分の上でCTRL-]を使うことによって、mainか | |
きる。同様にCTRL-]を使ってFuncCへ行くことができる。mainに戻るにはCTRL-Tを2回 | ||
使う。そこでCTRL-]を使ってFuncBに行くことができる。 | ||
|
||
":ta {ident}" やCTRL-]コマンドは、タグスタック上の現在の位置にタグを追加する。 | ||
":ta {name}" やCTRL-]コマンドは、タグスタック上の現在の位置にタグを追加する。 | ||
もしスタックが満たされていた場合(スタックは20エントリまで保持できる)、最も古い | ||
エントリが削除され、古いものから順にひとつずつ上に移動する(インデックス番号は1 | ||
ずつ減る)。もし最後に使われたエントリが一番下になかった場合、最後に使われたエ | ||
|
@@ -188,13 +188,14 @@ FuncAの呼び出し部分の上でCTRL-]を使うことによって、mainか | |
意すること。 | ||
|
||
*:ts* *:tselect* | ||
:ts[elect][!] [ident] タグファイルの情報を用いて、[ident]にマッチするタグをリ | ||
:ts[elect][!] [name] タグファイルの情報を用いて、[name]にマッチするタグをリ | ||
スト表示する。 | ||
[ident]を省略した場合、タグスタック上の最後のタグが使 | ||
われる。 | ||
[name]を省略した場合、タグスタック上の最後のタグが使わ | ||
れる。 | ||
[!]に関しては|tag-!|を参照。 | ||
最初の列に '>' があるものはリスト中の現在の位置を指し | ||
示している(それがあるならば)。 | ||
[ident]は正規表現を取り得る。|tag-regexp|を参照。 | ||
[name]は正規表現を取り得る。|tag-regexp|を参照。 | ||
リストに使われているプロパティは|tag-priority|を参照。 | ||
{Vi にはない} | ||
出力例: | ||
|
@@ -221,8 +222,8 @@ FuncAの呼び出し部分の上でCTRL-]を使うことによって、mainか | |
"nr" の番号を入力すればよい。 | ||
|
||
*:sts* *:stselect* | ||
:sts[elect][!] [ident] ":tselect[!] [ident]" を実行し、ウィンドウを分割して | ||
選択されたtagを表示する。{Vi にはない} | ||
:sts[elect][!] [name] ":tselect[!] [name]" を実行し、ウィンドウを分割して選 | ||
択されたtagを表示する。{Vi にはない} | ||
|
||
*g]* | ||
g] CTRL-]と動作は似ているが、":tag" の代わりに ":tselect" | ||
|
@@ -232,11 +233,11 @@ g] CTRL-]と動作は似ているが、":tag" の代わりに ":tselect" | |
{Visual}g] "g]" と同じ。ただし、選択されたテキストが検索に使われ | ||
る。{Vi にはない} | ||
*:tj* *:tjump* | ||
:tj[ump][!] [ident] ":tselect" と動作は似ているが、適合するtagが1つだけの | ||
:tj[ump][!] [name] ":tselect" と動作は似ているが、適合するtagが1つだけの | ||
ときには直接移動する。{Vi にはない} | ||
|
||
*:stj* *:stjump* | ||
:stj[ump][!] [ident] ":tjump[!] [ident]" を実行し、ウィンドウを分割して選択 | ||
:stj[ump][!] [name] ":tjump[!] [name]" を実行し、ウィンドウを分割して選択 | ||
されたtagを表示する。{Vi にはない} | ||
|
||
*g_CTRL-]* | ||
|
@@ -269,15 +270,15 @@ g CTRL-] CTRL-]と動作は似ているが、":tag" の代わりに ":tjump" | |
|tag-!|を参照。{Vi にはない} | ||
|
||
*:lt* *:ltag* | ||
:lt[ag][!] [ident] タグ[ident]にジャンプし、マッチするタグ全てをカレント | ||
:lt[ag][!] [name] タグ[name]にジャンプし、マッチするタグ全てをカレント | ||
ウィンドウの新しいロケーションリストに追加する。 | ||
[ident]は正規表現でもよい(|tag-regexp|を参照)。[ident] | ||
が指定されないときはタグスタックにある最後のタグ名が使 | ||
われる。タグにマッチする行を特定するための検索パターン | ||
には、特別な文字を全てエスケープするために "\V" がつけ | ||
られる(very nomagic)。マッチするタグを保持するロケー | ||
ションリストはタグスタックとは独立している。[!]につい | ||
ては|tag-!|を参照。{Vi にはない} | ||
[name]は正規表現でもよい(|tag-regexp|を参照)。[name]が | ||
指定されないときはタグスタックにある最後のタグ名が使わ | ||
れる。タグにマッチする行を特定するための検索パターンに | ||
は、特別な文字を全てエスケープするために "\V" がつけら | ||
れる(very nomagic)。マッチするタグを保持するロケーショ | ||
ンリストはタグスタックとは独立している。[!]について | ||
は|tag-!|を参照。{Vi にはない} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ここも同様かな? |
||
|
||
他にメッセージがないとき、Vimは今までに移動したtagとtagの数を表示する: > | ||
tag 1 of 3 or more | ||
|
@@ -300,12 +301,12 @@ g CTRL-] CTRL-]と動作は似ているが、":tag" の代わりに ":tjump" | |
{|+quickfix|が無効なときは利用できない} | ||
|
||
*:pts* *:ptselect* | ||
:pts[elect][!] [ident] ":tselect[!] [ident]" を実行し、"Preview" ウィンドウに | ||
:pts[elect][!] [name] ":tselect[!] [name]" を実行し、"Preview" ウィンドウに | ||
新しいタグを表示する。詳細は|:ptag|を参照すること。 | ||
{Vi にはない} | ||
|
||
*:ptj* *:ptjump* | ||
:ptj[ump][!] [ident] ":tjump[!] [ident]" を実行し、"Preview" ウィンドウに新 | ||
:ptj[ump][!] [name] ":tjump[!] [name]" を実行し、"Preview" ウィンドウに新 | ||
しいタグを表示する。詳細は|:ptag|を参照すること。 | ||
{Vi にはない} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「は」は前の行に入れた方が良いと思います。