标签:window cli http ash ace .com put any oar
http://vim.wikia.com/wiki/VimTip432
command! Copyfile let @*=substitute(expand("%:p"), ‘/‘, ‘\‘, ‘g‘)
command! Copyfile let @+=substitute(expand("%:p"), ‘/‘, ‘\‘, ‘g‘)
This copies the entire path and filename of the current file (with any slashes replaced with backslashes) onto the clipboard.
vim - Putting the current file on the Windows clipboard
标签:window cli http ash ace .com put any oar
原文地址:http://www.cnblogs.com/cnblogist/p/6114617.html