大家觉得Vim和Emacs哪个好?

Vim、Emacs配置和使用
头像
vfantasie
帖子: 9
注册时间: 2010-03-27 21:20

Re: 大家觉得Vim和Emacs哪个好?

#16

帖子 vfantasie » 2010-03-28 19:13

:em06

本人是VIMer,但是推荐lz如果机子不差的话,刚学编程不如用Eclipse C/C++ IDE吧:http://www.eclipse.org/downloads/

虽然他大又慢,但是配置起来很简单。通常来说,初学者的VIM/Emacs就算花个一星期研究也是不可能配置的像Eclipse默认水平的。

就像即使给未来Win32游戏开发者上图形学入门也还是一般使用OpenGL

作为入门时介绍的API的道理一样,IDE容易让你集中精力在语言的学习上,用VIM/Emacs很可能你的精力

会被分散到怎么配置等种种细节去。

附带:
《大腕》编辑器版:
..周围同事不是用 Vim 就是 Emacs , 你要是用一 UltraEdit,你都不好意思跟人家打招呼…
什么插件呀,语法高亮呀,拼写检查呀,能给它开的都给它开着,就是一个字儿:酷。
你说这么牛B一东西,怎么着学会也得小半年吧。
半年!入门都远着呢,能学会移动光标就不错了,你还别说耗不起,就这还只是左右移动

我个人感觉VIM/Emacs可以晚点学~
头像
qiang_liu8183
论坛版主
帖子: 10701
注册时间: 2006-09-10 22:36
系统: Arch Debian
来自: 北京

Re: 大家觉得Vim和Emacs哪个好?

#17

帖子 qiang_liu8183 » 2010-03-28 19:15

不管别人,我用vim
干不了大事就把小事干的大气点
davyzhu
帖子: 109
注册时间: 2009-12-06 21:23

Re: 大家觉得Vim和Emacs哪个好?

#18

帖子 davyzhu » 2010-03-28 23:02

Both vim and emacs are not for newbie. I use them after 2 years ultraedit experience in university.
Use gedit instead for editor, and command line gcc/gdb, you can focus on the programming problem. After at least half a year, go back to vim and emacs, you will feel better.
头像
sweating
帖子: 200
注册时间: 2009-02-07 18:01

Re: 大家觉得Vim和Emacs哪个好?

#19

帖子 sweating » 2010-03-29 12:31

dshbusiness 写了:
JiangHui 写了:看来不稀饭emacs快捷键的不少啊
Of course!
用了两小时,左手疼了3天……
疼习惯了。
一个同学看我编程的时候跳到.emacs上面去,然后他问我干什么,然后我很冷的回一句,改配置文件......
adagio 写了:键位只是习惯问题,真正应该用vi的原因是——普及
不是人多人少的普及,而是有*nix的地方就有vi,如果只会用Emacs的话,其他*nix系统可不一定有喔,难道你还现装一个?
我觉得如果用emacs就应该有随身带配置文件的觉悟.......
就是有的话,配置文件最好还是重新来.....
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 大家觉得Vim和Emacs哪个好?

#20

帖子 adagio » 2010-03-29 14:44

随身带配置文件?那程序呢?也随身带?rpm包、deb包、pkg包、tarball,32的64的,你也随身带10几个包? :em04
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
davyzhu
帖子: 109
注册时间: 2009-12-06 21:23

Re: 大家觉得Vim和Emacs哪个好?

#21

帖子 davyzhu » 2010-03-29 15:43

adagio 写了:随身带配置文件?那程序呢?也随身带?rpm包、deb包、pkg包、tarball,32的64的,你也随身带10几个包? :em04
I guess he mean keep .emacs file on disk and on web like github, like most Emacser(e.g. Steve Yegge) always do and always suggest.
The relationship of Emacs and .emacs file is more intimate than other editor like Vim.
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 大家觉得Vim和Emacs哪个好?

#22

帖子 adagio » 2010-03-29 17:11

额,咱不说鸟语行不? :shock:
你意思是用在线的emacs?
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
anewbie
帖子: 159
注册时间: 2009-02-24 19:39

Re: 大家觉得Vim和Emacs哪个好?

#23

帖子 anewbie » 2010-03-29 17:29

他说用 git 之类的版本控制工具存 .emacs 之类的配置文件。
他没明白你的意思,你也没明白他的意思。
继续继续~~~~
anewbie
帖子: 159
注册时间: 2009-02-24 19:39

Re: 大家觉得Vim和Emacs哪个好?

#24

帖子 anewbie » 2010-03-29 17:33

还有 21 楼哥们儿能不能不用鸟文,尤其是语法错误几乎像是故意为之的乌文。
输入法崩溃了还没弄好?
davyzhu
帖子: 109
注册时间: 2009-12-06 21:23

Re: 大家觉得Vim和Emacs哪个好?

#25

帖子 davyzhu » 2010-03-29 17:38

adagio 写了:额,咱不说鸟语行不? :shock:
你意思是用在线的emacs?
0. Sorry, my input method crashed and I found input English faster than Chinese.
1. Yes, store the .emacs file online or on sth like mobile HD. So wherever you go, you can restore *YOUR OWN* Emacs configuration but not use the Emacs of default configuration.
2. You need not to keep YOUR OWN tarball, because they are available on the web. E.g. you can download Emacs tarball from Gnu ftp.
davyzhu
帖子: 109
注册时间: 2009-12-06 21:23

Re: 大家觉得Vim和Emacs哪个好?

#26

帖子 davyzhu » 2010-03-29 17:39

anewbie 写了:还有 21 楼哥们儿能不能不用鸟文,尤其是语法错误几乎像是故意为之的乌文。
输入法崩溃了还没弄好?
Sorry, please ignore syntax error :)
anewbie
帖子: 159
注册时间: 2009-02-24 19:39

Re: 大家觉得Vim和Emacs哪个好?

#27

帖子 anewbie » 2010-03-29 18:20

果然是纯代码男(女)啊。不用 ignore,那里面应该没有 syntax error,只有 grammar error. 相反,那句 "syntax error" 看起来才像是 "syntax error".
呃,貌似歪楼了,我悔过。没有恶意哈,你们继续。
头像
maonx
帖子: 206
注册时间: 2008-09-09 16:39
联系:

Re: 大家觉得Vim和Emacs哪个好?

#28

帖子 maonx » 2010-03-29 19:04

我来跟跟,用vim呢~~
davyzhu
帖子: 109
注册时间: 2009-12-06 21:23

Re: 大家觉得Vim和Emacs哪个好?

#29

帖子 davyzhu » 2010-03-29 19:31

anewbie 写了:果然是纯代码男(女)啊。不用 ignore,那里面应该没有 syntax error,只有 grammar error. 相反,那句 "syntax error" 看起来才像是 "syntax error".
呃,貌似歪楼了,我悔过。没有恶意哈,你们继续。
*Off-topic warning: not about VIM and Emacs*
Anewbie, Haha, I don't have English syntax/grammar checker on hand.
Anyway, what's the main difference between syntax and grammar? I googled and find
Grammar consists of set rules regarding language and sentence structure, such as no splitting infinitives and no hanging prepositions.

Syntax is how a sentence is worded and structured. It consists of the type of sentence (Declarative, Interrogative, Exclamatory, Imperative) and word order (passive vs. active voice) It also refers to length of sentences (short vs. long).

Syntax can be used as a literary device to add extra meaning to your sentences, whereas grammar adds no greater meaning to your sentences.
So, the sentence of "syntax error" is "word error", but not "syntax error" or "grammar error". And compiler show "syntax error" should be "grammar error". Just my 2 cents.
anewbie
帖子: 159
注册时间: 2009-02-24 19:39

Re: 大家觉得Vim和Emacs哪个好?

#30

帖子 anewbie » 2010-03-29 20:55

我知道。呃,我本来想在“像是”后面加个括号,里面添上“其实是 semantic error”,但为了那句子看起来酷一点还是算了。
十几年前,高中英语老师告诉我们什么第三人称单数啊,时态啊之类属于 grammar,句子结构组合方式之类属于 syntax,词义范畴之类属于 semantic...当年怪老头的变态严格当下思之犹有余悸,现在还没敢还给他呢,呵呵。
楼又歪了。
搭车问一下, davyzhu 知不知道怎么在关机的时候自动终结掉 emacs 起的 daemon? 谢先。daemon 里面可能在执行各种任务,lisp 逐一检查然后一一善后?有没有更优雅的办法?
回复