2014-10-11から1日間の記事一覧

Vimで現在開いているファイルのパスを取得する設定

vim

# ~/.vimrc function! CopyPath() let @*=expand('%:P') endfunction function! CopyFullPath() let @*=expand('%:p') endfunction function! CopyFileName() let @*=expand('%:t') endfunction command! CopyPath call CopyPath() command! CopyFullPath ca…