Humanity

Edit the world by your favorite way

2010-11-01から1日間の記事一覧

:edit `which ...`

Vim

Vimではシェルのように :edit `which vim` とすることができる。 この場合は$PATHにあるvimの実行ファイルを開きます。 これが便利なのはたとえば :edit `perldoc -l Moose` :edit `perldoc -l perlfunc` とするとモジュールのファイルとかがVimで開ける。 …