2008年01月01日 星期二 16:21
ÔõôÉèÖÃpython±àÒëÖ®ºóµÄ½á¹ûÖ±½ÓÔÚquickfix´°¿ÚÀïÃæÏÔʾ³öÀ´£¿ ÏÖÔÚÿ´Î¶¼Êǵ¯³öcmd´°¿ÚÀ´±àÒ룬¸Ð¾õ²»ÊǺܷ½±ã~ лл -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080101/c04b7e5f/attachment.htm
2008年01月01日 星期二 16:33
On Jan 1, 2008 4:21 PM, Xian Chen <hoganxian在gmail.com> wrote: > 怎么设置python编译之后的结果直接在quickfix窗口里面显示出来? > > 现在每次都是弹出cmd窗口来编译,感觉不是很方便~ > > 谢谢 python?编译? python要编译吗? -- Best Regards, Leo Jay
2008年01月01日 星期二 16:53
autocmd FileType python map:w! :!python % On Jan 1, 2008 4:21 PM, Xian Chen <hoganxian在gmail.com> wrote: > 怎么设置python编译之后的结果直接在quickfix窗口里面显示出来? > > 现在每次都是弹出cmd窗口来编译,感觉不是很方便~ > > 谢谢 > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- Jerry Lee University of Jinan
2008年01月01日 星期二 17:09
Õâ¸öÉèÁËÓÐʲôÓ㿲»Ã÷°× On 1/1/08, liwei <anbutu在gmail.com> wrote: > > autocmd FileType python map> % :w! :!python > > On Jan 1, 2008 4:21 PM, Xian Chen <hoganxian在gmail.com> wrote: > > ÔõôÉèÖÃpython±àÒëÖ®ºóµÄ½á¹ûÖ±½ÓÔÚquickfix´°¿ÚÀïÃæÏÔʾ³öÀ´£¿ > > > > ÏÖÔÚÿ´Î¶¼Êǵ¯³öcmd´°¿ÚÀ´±àÒ룬¸Ð¾õ²»ÊǺܷ½±ã~ > > > > лл > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > -- > Jerry Lee > University of Jinan > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080101/5c8c7aa9/attachment.htm
2008年01月02日 星期三 00:25
"把以下内容加入 比如D:\vim\_vimrc 文件里 ""Set some bindings up for 'compile' of python au BufNewFile,BufRead *.py :set makeprg=python\ % au BufNewFile,BufRead *.py :set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m au BufNewFile,BufRead *.py nmap:up! :make au BufNewFile,BufRead *.py vmap : up! :make "F8 '编译' au BufNewFile,BufRead *.py nmap :cl "F12 列出错误行号 "这些能够完成你要得功能 有不懂的用 :help 命令学习学习, "vim的help 是神作 "现在还有中文版的. -- 知止而后有定,定而后能静,静而后能安,安而后能虑,虑而后能得。
2008年01月02日 星期三 00:31
au BufNewFile,BufRead *.py :set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m 注意上面的是一行, Google 自动给断行了, -- 知止而后有定,定而后能静,静而后能安,安而后能虑,虑而后能得。
2008年01月02日 星期三 00:34
set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m line前面的空格居然也给吞了... -- 知止而后有定,定而后能静,静而后能安,安而后能虑,虑而后能得。
2008年01月02日 星期三 09:03
Nice,¶àл~~ On Jan 2, 2008 12:34 AM, subowen <onenew在gmail.com> wrote: > set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m > > lineÇ°ÃæµÄ¿Õ¸ñ¾ÓȻҲ¸øÍÌÁË... > > -- > ÖªÖ¹¶øºóÓж¨£¬¶¨¶øºóÄܾ²£¬¾²¶øºóÄܰ²£¬°²¶øºóÄÜÂÇ£¬ÂǶøºóÄܵᣠ> _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080102/ab08ffae/attachment.html
Zeuux © 2025
京ICP备05028076号