当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 69 篇帖子 ]  前往页数 1, 2, 3, 4, 5  下一页
作者 内容
1 楼 
 文章标题 : [问题]vim PK emacs
帖子发表于 : 2007-06-29 0:12 

注册: 2007-04-08 3:10
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
那个更胜一筹?


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-06-29 0:19 
头像

注册: 2005-11-28 12:09
帖子: 555
送出感谢: 0 次
接收感谢: 1
这种问题会引发口水战的....

个人推荐你不妨先尝试一下vim??
:lol:


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-06-29 0:40 

注册: 2007-04-08 3:10
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
尝试emacs23中。本版不就是要”深度“PK么, :D


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-06-29 0:57 
头像

注册: 2006-07-08 9:21
帖子: 1917
地址: University of Science and Technology Beijing
送出感谢: 1
接收感谢: 0 次
emacs写程序比较好,vim个人感觉没什么意思,简单的编辑还没nano方便嗯


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-06-29 1:30 
头像

注册: 2005-11-16 10:42
帖子: 203
送出感谢: 0 次
接收感谢: 0 次
pk!pk!
搬小板凳来看


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-06-29 7:29 

注册: 2005-11-03 17:52
帖子: 371
送出感谢: 0 次
接收感谢: 0 次
推荐先试用vim,简洁而强大。


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2007-06-29 11:03 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
来源: http://wiki.python.org/moin/EmacsVsVi

Vi (and its popular variant ViImproved) is a small text editor which does a few things, mostly relating to editing text. If small editors with a single purpose and enough features to satisfy most text editing needs appeal to you, then you might want to consider using this editor.

EmacsEditor is a large text editor which does quite a lot of things (including vi emulation), not all of which are related to editing text. If you find yourself interested in an application which does many things, but may require more learning to explore its potential, then you might find this editor to be of interest to you.

Both of these editors support many fundamental virtues of text editors such as extensive syntax highlighting, collapsible functions, spell checking, macros, undo-redo, multiple document editing, and a large support community. They are both free, Open Source, mature software. Try them both and choose the one that best suits you.

Among technically inclined UNIX/Linux users vi/vim tends to be preferred more by sysadmins while emacs/xemacs tends to be favored by programmers. Comparing the typical usage patterns of these classes of users to the relative merits of the two editors this should not be surprising.

Commonly, systems administrators are working on many different machines, in varying states of installation, configuration and repair. They are making relatively quick edits to many different files. An editor with a quick load time, blazing keyboard efficiency (with the right expertise) and few library or other dependencies is essential. Preferably it will be the editor that virtually every version of UNIX includes by default. It is even, occasionally, handy that the editor be able to fall back on an old fashioned line editing mode when even the terminal emulation subsystem is non-functional.

Programmers, on the other hand, tend to work extensively on large complex sets of related files. However they tend to have all of them located on one single machine (usually checked out of a version control system en masse). For programmers the overhead of starting a larger, slower, more complex editor is amortized over their usage. They may have the same instance of the editor up for weeks or months at a time, closing and opening buffers as necessary. Having an editor support a full programming language internally is important to many programmers, as they need IDE (integrated development environment) features and tools like ediff and emerge (for comparing and merging different versions of a file, for example).

Of course this generalization can fail us. Many programmers started as, or spent stints as systems administrators and developed a preference for vi over emacs. A modern version of vim can support almost any of the features one would expect of emacs.

Conversely many people are uncomfortable with vi's notorious "modal" paradigm. They never become accustomed to "command" vs. "insert" or "replace" modes and often consider the very notion to be atavistic.

Some tips:

*

In emacs and xemacs one can access the vi keybindings using the command: M-x viper (That's [Alt]+[x]viper[Enter] or [Esc][x]viper[Enter] --- either should work, but the latter will work on terminals/keyboards that don't have an [Alt] key).
*

In vim use the ex-mode command :syntax on to enable syntax highlighting (which is often configured to be off by default)
*

To learn the basics of vim very quickly run the command vimtutor (it's a set of macro files that run in vim and teach one how to use it)
*

To learn the rudiments of emacs use: C-h, t (from inside the editor of course). (That's [Ctrl]+[h] and then [t]). This will start the tutorial system that's written in emacs' "elisp" version of the Lisp programming language.

Ultimately the choice of a text editor is a highly personal one, so flame wars on the topic of vi vs. emacs are little more than a pastime for those who have already made up their minds.


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2007-06-29 11:05 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
强烈要求一叶翻译 :D


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2007-06-29 11:08 
头像

注册: 2006-04-12 20:05
帖子: 8495
地址: 杭州
送出感谢: 0 次
接收感谢: 8
对对,一叶翻译下,要不ls的qinqin代劳下?


_________________
关注我的blog: ε==3


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2007-06-29 11:20 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
这个恐怕不行,因为我是大菜鸟 :D


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2007-06-29 11:23 
头像

注册: 2006-04-12 20:05
帖子: 8495
地址: 杭州
送出感谢: 0 次
接收感谢: 8
这年头,怎么都喜欢装菜鸟。。


_________________
关注我的blog: ε==3


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2007-06-29 11:29 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
是真的很菜,连vim都不知道怎么用。


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2007-06-29 12:23 
头像

注册: 2005-06-11 14:03
帖子: 6226
地址: 不明真相的群众
送出感谢: 0 次
接收感谢: 0 次
荐komodo edit


_________________
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2007-06-29 12:46 

注册: 2007-06-27 8:40
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
两者都比较深入的用过 当我用VI的时候感觉比emacs好用,用emacs时感觉比Vi好用。真是很难选择!


页首
 用户资料  
 
15 楼 
 文章标题 : 个人感觉还是Emacs更胜一筹
帖子发表于 : 2007-06-29 12:46 

注册: 2005-08-24 10:21
帖子: 70
送出感谢: 0 次
接收感谢: 0 次
最开始在Linux下就用的是Vi/Vim,但是觉得不是很爽,后来在Windows下用Emacs21和Emacs23,简单配置了一下,真是太好用了,我主要是写C/Java和Docbook/LaTex,高亮的界面和方便的键盘操作让工作变得轻松简单!


_________________
在我们力求安定的未来的岁月里,我们期待一个建立在四项人类基本自由之上的世界。
第一是在全世界任何地方发表言论和表达意见的自由。
第二是在全世界任何地方,人人有以自己的方式来崇拜上帝的自由。
第三是不虞匮乏的自由
第四是免除恐惧的自由
--富兰克林.罗斯福


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 69 篇帖子 ]  前往页数 1, 2, 3, 4, 5  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译