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 an…
参考: Programming Windows with MFC, 2nd. Chapter 18, 19. 建议把这两章学习完(至少到OLE drag-and-drop之前要学习完)再来尝试OLE Clipboard Programming Windows 5th. Chapter 12 - The Clipboard, Memory Allocation, When your program transfers something to the clipboard, it must allo…
http://superuser.com/questions/414110/vim-save-a-file-as-a-different-filename-but-keep-w-as-the-current-filename :w someOtherFile.c it will write to that file, but stay editing someFile.c.…
How to use Virstalbox to share files with Linux and Windows, and to move the mouse in and out Virtualbox freely without click Ctrl key, herewith what I have done to achieve both. 1, download 'VBoxGuestAdditions_4.3.12.iso' 2, in RH Linux of Virtualbo…
linux服务器上编辑 .ini 文件时卡死,关闭连接工具后重新进入操作该 .ini 文件时,会提示: E325: ATTENTION Found a swap file by the name ".xxx.ini.swp" (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the…
I’ve always been frustrated in Visual Studio (all versions I can remember including latest vs2012) with not being able to look at the top of a file and edit the bottom. Recently, on an Microsoft insiders list I participate in, someone posted that ex…