Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

jagne kvrj, ngochan1126@hotmail.­com, a asdfghjhhjjkl', cvezrtg, chink chinese frankies, lambhead@rocketmail.com, priwalfdept77@yahoo.de, from scipy.optimize import minpack2 ImportError: DLL load failed: 找不到指定的模块。, yamlå, adfghjshjklç

Links

XODOX
Impressum

#1: Re: 在vim 里面快速测试正在编辑perl脚本的方法

Posted on 2012-09-10 07:51:51 by bigmeow

è¿ä¸ªä¸æ¯æåæ­¥è°è¯å§ï¼

ã å¨ easyCRUEL (Man,Do it!) ç大ä½ä¸­æå°: ã
: åç<<perl hacks>> å­¦ä¼çä¸ä¸ªææ°, å¸æ对大家ä¹æç¨.
: å¨~/.vimrc éé¢æ å°ä¸ä¸ªé®, æ设æäº<SPACE>t, åæ空格åætå°±å¯ä»¥æµè¯æ­£å¨ç¼è¾çèæ¬äº
: map <SPACE>t <ESC>:!perl %<CR>
: ...................

--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#2: Re: vim & perl

Posted on 2012-09-10 07:58:40 by @_0

é»è®¤å°±æçå§ï¼å¨$VIMRUNTIME/ftplugin/perl.vim
æ¬èº«ä¸æ¯è¡¥å¨æ件ï¼åªæ¯å è½½äºä¸äºperlç¸å³çç®å½ãä¸è¿å è½½åè¡¥å¨ææä¼å¥½ä¸äº
ã å¨ bigmeow (bigmeow) ç大ä½ä¸­æå°: ã
: perl.vimæ¯è¡¥å¨æ件ä¹ï¼
: åªéä¸è½½çï¼


--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#3: Re: vim & perl

Posted on 2012-09-10 08:24:58 by bigmeow

æ©ï¼ç®å½éæè¿ä¸ªæ件ï¼ä½æ¯ä¸ºä»ä¹ä¸è½è¡¥å¨å¢ï¼
Ctrl + Pæ æããã
su Cpï¼åºè¯¥è¡¥å¨ä¸ºsubåï¼
ä½æ¯å´æ¾ç¤º
-- Keyword completion (^N^P) Pattern not found

æä¹åäºï¼

ã å¨ rezilla (@_0) ç大ä½ä¸­æå°: ã
: é»è®¤å°±æçå§ï¼å¨$VIMRUNTIME/ftplugin/perl.vim
: æ¬èº«ä¸æ¯è¡¥å¨æ件ï¼åªæ¯å è½½äºä¸äºperlç¸å³çç®å½ãä¸è¿å è½½åè¡¥å¨ææä¼å¥½ä¸äº


--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#4: Re: vim & perl

Posted on 2012-09-10 08:42:23 by @_0

:h 'complete'
'complete' 'cpt' string (default: ".,w,b,u,t,i")
local to buffer
{not in Vi}
This option specifies how keyword completion |ins-completion| works
when CTRL-P or CTRL-N are used. It is also used for whole-line
completion |i_CTRL-X_CTRL-L|. It indicates the type of completion
and the places to scan. It is a comma separated list of flags:
. scan the current buffer ('wrapscan' is ignored)
w scan buffers from other windows
b scan other loaded buffers that are in the buffer list
u scan the unloaded buffers that are in the buffer list
U scan the buffers that are not in the buffer list
k scan the files given with the 'dictionary' option
kspell use the currently active spell checking |spell|
k{dict} scan the file {dict}. Several "k" flags can be given,
patterns are valid too. For example: >
:set cpt=k/usr/dict/*,k~/spanish
< s scan the files given with the 'thesaurus' option
s{tsr} scan the file {tsr}. Several "s" flags can be given, patterns
are valid too.
i scan current and included files
d scan current and included files for defined name or macro
|i_CTRL-X_CTRL-D|
] tag completion
t same as "]"
å è½½äºperl.vimç好å¤å°±æ¯ié£ä¸æ¡âscan current and included filesâå§ã没æuseæèrequireå¼å¥åçè¯æ²¡å¥ææçåºè¯¥
ã å¨ bigmeow (bigmeow) ç大ä½ä¸­æå°: ã
: æ©ï¼ç®å½éæè¿ä¸ªæ件ï¼ä½æ¯ä¸ºä»ä¹ä¸è½è¡¥å¨å¢ï¼
: Ctrl + Pæ æããã
: su Cpï¼åºè¯¥è¡¥å¨ä¸ºsubåï¼
: ...................

--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#5: Re: vim & perl

Posted on 2012-09-10 08:46:28 by bigmeow

omniä¸æ¯æå³é®å­è¡¥å¨ä¹ï¼
suè¡¥å¨æsubé½ä¸è¡ï¼

ã å¨ rezilla (@_0) ç大ä½ä¸­æå°: ã
: :h 'complete'
: 'complete' 'cpt' string (default: ".,w,b,u,t,i")
: local to buffer
: ...................

--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#6: Re: vim & perl

Posted on 2012-09-10 08:56:14 by @_0

çèµ·æ¥æ²¡ç¨omniè¡¥å¨å§
æ¯è¿ä¸æ®µå®ç°ç
setlocal include=\\<\\(use\\\|require\\)\\>
setlocal includeexpr=substitute(substitute(v:fname,'::','/','g'),'$','.pm','')
setlocal define=[^A-Za-z_]


ã å¨ bigmeow (bigmeow) ç大ä½ä¸­æå°: ã
: omniä¸æ¯æå³é®å­è¡¥å¨ä¹ï¼
: suè¡¥å¨æsubé½ä¸è¡ï¼


--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#7: Re: 如何用Perl读文件从末尾一行向上读直到第一行?

Posted on 2012-09-10 12:14:30 by hia~

tac
ã å¨ haoning212 (é¿é) ç大ä½ä¸­æå°: ã
: RT
: æçLOG æ件ä¸è¬å¨åå è¡çä¿¡æ¯æ¯è¾æç¨ï¼å¦æä»ç¬¬ä¸è¡ä¸ç´è¯»å°æåï¼ç¨åºæç太ä½ï¼æ±å¤§çæç¹...

--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº http://newsmth.netã»

Report this message

#8: Re: 如何用Perl读文件从末尾一行向上读直到第一行?

Posted on 2012-09-11 03:48:51 by 金陵陈迹老莓苔

æFile::ReadBackwards


ã å¨ haoning212 (é¿é) ç大ä½ä¸­æå°: ã
: RT
: æçLOG æ件ä¸è¬å¨åå è¡çä¿¡æ¯æ¯è¾æç¨ï¼å¦æä»ç¬¬ä¸è¡ä¸ç´è¯»å°æåï¼ç¨åºæç太ä½ï¼æ±å¤§çæç¹...


--
家穷人ä¸ï¼ä¸ç±³ä¸ä¹ï¼æ¬ç§æåï¼åææ·å£ã


â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message