vim - Putting the current file on the Windows clipboard
Posted My Blog @ cnblogs.com
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vim - Putting the current file on the Windows clipboard相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
Tip of the Week #65: Putting Things in their Place
Tip of the Week #65: Putting Things in their Place
vim - save current file with a new name but keep editing current file
zabbix报zabbix server is not runing the information displayed may not be current
小白专场: Merge the incoming changes into the current branc和Rebase the current branch on top of the ...