配布サイトから、モジュールを取得してpluginディレクトリに配置します.
結構、頻繁にバージョンアップしてます。
新しいバージョンを入れる場合は、旧バージョンの削除をお忘れなく。
無効にしたいものがフィーチャーになっているなら、「インストール/更新」パースペクティブでそのフィーチャーを選択して「すぐに使用不可にする」をクリックします。
そうでなければ、Eclipseを起動していない状態で、Eclipseの plugins ディレクトリから、放り込んだプラグインを削除すればOKです。Escaped とかいうディレクトリを作って移動するだけでもOKです。
設定はそのまま残っており、プラグインを復活させたら設定は復活します。設定自体は workspace/.metadata/plugins に格納されていることがおおいので、こいつを削除すればデフォルト設定に戻すことができます。
Description:
viPlugin is an Eclipse based plugin for adding vi(m) functionality to an open editor. Since 0.1.1 it contains a viEditor that can be associated with a file-extension in the workbench preferences (so that the plugin doesn't need to be loaded for that extension). The viEditor has no additional JDT, CDT functionality!
How to start:
viPlugin: Right click the toolbar and set "Other->viPlugin" visible. Now just click on the vi Action in the Toolbar (or the menu) and the viPlugin is loaded. As long as the plugin is loaded all editors that are an instance of ITextEditor? are using the viLayer. By clicking the icon again the viPlugin is unloaded.
viEditor: Set the preferred editor in the preferences of the Workbench to ViEditor? and open a file of that type.
Following is a short description of implemented commands. For more information have a look at the vim documentation at http://www.vim.org.
Commands that are different from vim:
Z used instead of CTRL-R (redo)
Commands:
ESC | インサートモードと編集モードの切り替え |
i,a,I,A | インサートモードの開始 |
s | カレントの1文字を削除して、インサートモードへ |
o | カレント行の下に新しい行を挿入 |
O | カレント行の上に新しい行を挿入 |
$ | 行末へ移動 |
0 | 行頭へ移動 |
yy | 現在行をコピー |
y | 選択範囲をコピー(yank) |
p | コピーした内容をペースト |
dd | 現在行の削除 |
dk,d↑ | カレント行を削除して、上の行へ移動 |
dj,d↓ | カレント行を削除して、下の行へ移動 |
dw | 一単語を削除 |
d$ | 現在位置から行末まで削除 |
d0 | 現在位置から行頭まで削除 |
cc,S | 現在行を削除して、インサートモードへ |
cw | 現在のワードを編集 |
c$ | 現在位置から行末までを編集 |
c0 | 現在位置から行頭までを編集 |
gg | 先頭行へ移動 |
G | 最終行へ移動 |
nG | 指定した行番号(n)へ移動 |
/xxx | キーワード検索 |
* | カーソル位置のワードをキーワードにして検索 |
# | カーソル位置のワードをキーワードにして検索(逆方向) |
n | 次検索 |
N | 前検索 |
x | カーソル位置の一文字を削除 |
:w | ファイルの保存 |
:wq | ファイルを保存して終了 |
:q | 現在使用中のエディタを閉じる |
:n | n行にジャンプ |
hjkl | カーソル移動 |
w | ワード移動(前) |
b | ワード移動(後) |
ページ移動 | |
J | 次行(除く空行)を結合 |
. | 直前のコマンドを実行 |
KNOWN BUGS ==========
2004-04-13
<Michael Bartl> * some refactoring done * fixed '.' repetition for delete commands * fixed horizonal scrolling bug #900339
2004-04-07
<Michael Bartl> * cleaned up MatchBrace * fixed bug #859066
2004-04-06
<Michael Bartl> * added MatchBrace Testcase showing bug #859066
2004-04-05
<Michael Bartl> * cleaning up Search implementation * started working on bug #859066 (infinite recursion in MatchBrace)
2004-03-01
<Luke deGruchy> * fixed bug #819741: search/replace infinite loop
2004-02-25
<Ben Damm> * renamed getCarretPosition to getCaretPosition
TODO ====
Features:
Design improvements:
(create new Commands tests)