カレントバッファのファイルパスを表示する

April 21, 2008category: Vim 

カレントバッファのファイルパスを表示する方法。意外に手間がかかる。

:!echo %:p

または

:echo expand("%:p")

comments (0)

comments