2007年4月28日星期六

Welcome to Google Groups of Guey Lunmei






Google Groups

GueyLunmei

Visit this group









Google Groups

Subscribe to GueyLunmei

Email:


Visit this group

2007年4月9日星期一

Flickr Show




by Slide






by Good Widgets

2007年4月3日星期二

Vim 7 中使用tab

1. 打开tab

:tabnew filename



vim -p filename1 filename2 filename3



在当前目录搜索aaa*,并打开

:tabf aaa*

只能打开一个文件,当有多个文件匹配时,报文件名过多错

可以使用tab键



.vimrc

set tabpagemax=n

' such as n = 15 ,default n = 10



2. 在tab见切换

:tabn next

:tabp prev



GVIM下可以支持鼠标操作



:tabfir(st) first tab

:tablast last tab



.vimrc

设置是否显示tabline

set showtabline = 0|1|2

0 从不显示

1 有tab时显示

2 一直显示



:tabm n

把当前tab移动到第n个 n=0,1,...





3. 在tab中执行命令

:tabdo %s/aaa/bbb/g

原来在一个文件中执行的命令,跟在tabdo后,在所有打开的tab所对应的文件中运行



更多内容可以参看

:help tab-page-intro



引自Vim tips: Using tabs



Powered by ScribeFire.

Interview Tips


Howto Pass a Silicon Valley Software Engineering Interview

1) Don't interview at your dream job first.
2) Never fucking ever say anything negative. There is simply no upside. (and don't say "fuck" neither).
3) Check your attitude at the door.
4) Be passionate about development.
5) APIs really don't impress.
6) Know algorithms and data structures.
7) Be an engineer that your interviewer would want to work with.
8) Know the language you say you do.
 powered by clipmarksblog it