vim�~ï
http://cotocoto.jp/event/18157
åã©[
:if exists('loaded_undobranch_viewer') :finish :endif :let loaded_undobranch_viewer = 1 :command! -nargs=0 UndoBranchViewer :call s:UndoBranchViewer() :function! s:UndoBranchViewer() :let g:undolistHandlers = [ \ {'key': 16, 'agent': s:SNR().'AgentUndoPreview', 'key_name': '<c-p>', 'help': 'Undo preview'}, \ {'pick_last_item': 0}, \ ] :let s:undolists = tlib#cmd#OutputAsList('undolist') :call tlib#input#List('s', 'UndoBranch', s:undolists, g:undolistHandlers) :endfunction :function! s:AgentUndoPreview(world, selected) :return a:world :endfunction :function! s:SNR() :return matchstr(expand('<sfile>'), '<SNR>\d\+_\zeSNR$') :endfunction finish ============================================================== XNvgÌRgÆ©A ðÆ©LqBufinishvÆ��ÄA»ï¿½}ÅXNvgÌÇÝÝðâ~A
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.apple.cvspserver</string> <key>UserName</key> <string>username</string> <key>Program</key> <string>/usr/bin/cvs</string> <key>ProgramArguments</key> <array> <string>cvs</string> <string>-f</string> <string>--allow-root=/Volumes/DATA/cvs</string> <string>pserver</string> </array> <key>Sockets</key> <dict> <key>Listeners</key> <dict> <key>SockPassive</key> <true/> <key>SockServiceName</key> <string>cvspserver</string> <key>SockType</key> <string>SOCK_STREAM</string> </dict> </dict> <key>inetdCompatibility</key> <dict> <key>Wait</key> <false/> </dict> </dict> </plist>
cp cvspserver.plist /Library/LaunchDaemons
launchctl load /Library/LaunchDaemons/cvspserver.plist
cvs -d :pserver:loginname@serverhost login cvs -d :pserver:loginname@serverhost checkout module