viで編集中ファイルのディレクトリに移動する

#vi#vim#エディタ

 

-----

 : cd  %:h

-----

 

■関連HP

http://nagoyan.starfree.jp/waza.html#link-vi