s**********g 发帖数: 37 | 1 用vi用到左手小拇指发炎,只好改用emacs,现在还没有什么不适。;) |
|
b****o 发帖数: 387 | 2 can not figure out what is the key combination for this... in emacs.
thanks for help in advance! |
|
b****o 发帖数: 387 | 3 it seems to me that to send alt+x in emacs, one has to set:
Terminal > Preferences > Settings > Keyboard
and select the 'Use option as meta key' checkbox at the bottom of the window
. |
|
s*******a 发帖数: 8827 | 4 没有人知道吗?这个班的人都不用emacs么?
太遗憾了,用mac的一大优势就是可以用这些unix的开源软件啊。。 |
|
|
|
|
h****g 发帖数: 11365 | 8 在你的.emacs 或者init.el文件里加上这个:
(setq mac-option-key-is-meta t)
然后就变成alt/option键了。 |
|
kb 发帖数: 73 | 9 Do anyone have some experience on customizing Emacs/XEmacs
to hightlight Latex syntax, make it auto completion,
bring in citations etc.?
|
|
kb 发帖数: 73 | 10 But after I added ultratex, the auctex packege does not work any more,
although emacs does not give out any error message. |
|
c******n 发帖数: 4965 | 11 【 以下文字转载自 Linux 讨论区 】
【 原文由 creation 所发表 】
???
I am trying to learn to use it,
(mainly for using auctex)
but when I put
(setq load-path (cons "~/.emacs_scripts" load-path))
(require `tex-site)
(require `font-lock)
(setq font-lock-maximum-decoration t)
(if window-system
(require 'font-latex))
into my .emacs file,
then open a aaaa.tex , it is still black and white,
I have to M-x font-lock-mode
to show color, but the color is very simple and ugly
two questions
(1) how to enable color autom |
|
c******n 发帖数: 4965 | 12 OK , I see, there are two points of using an
integrated editor
(1) gdb's source display is messy,
vi/emacs has coloring, and it automatically displays
the area arround current breakpoint
(2) IDE automatically switches source files when function is called,
you can also use tag jumps manually |
|
D***r 发帖数: 7511 | 13 我一直都用notepad++
但是好像专业人士都用emacs或者vim |
|
S**I 发帖数: 15689 | 14 在*NIX平台上的才会常用这俩;在Windows上用emacs和vim纯属跟自己过不去。 |
|
r*******n 发帖数: 3020 | 15 学习曲线开始比较斗,静下心来学一下,一周后上手没问题;
如果不是天天coding, 如果不是已写paper为生, 没必要学emacs。
如果是coder, 学学lisp挺好的,我现在正在学clojure(Lisp的一种) |
|
d*****u 发帖数: 17243 | 16 现在一些学校的示范工具都从emacs转为vim
具体为何不知 |
|
|
N**D 发帖数: 10322 | 18 vi is faster and more widely available than emacs
any unix terminal has it. |
|
|
d***q 发帖数: 1119 | 20 because Knuth uses emacs as well..haha. |
|
t***a 发帖数: 416 | 21 emacs的windows版也不错啊,没感觉哪里不爽。。。。 |
|
K*C 发帖数: 230 | 22 跟某些人合作时候用emacs,会被认为有xb之嫌。 |
|
N**D 发帖数: 10322 | 23 不知道现在如何, 以前在windows上装emacs, 很费劲 |
|
j**********i 发帖数: 3758 | 24 g++, 哼!
emacs,顶多能定义一大堆宏命令,对于一般程序员实在没太大用。
unix的一个好处就是语言变动不大,美国搞编译的人没饭吃,一天弄一个新语言,
我从algol60,fortran,pascal, ada,到C,C++,java到VC,VB学得实在是太烦了,
成了专家们的试验品,小一辈的人还想弄D和更多的东西,也不想想下面的人。希望未
来的人就弄出个自然语言编程,什么都不要学,照样能干活。
中国这边呢?连个屁语言也没有。 |
|
c*****d 发帖数: 6045 | 25 不是太明白你的意思
是在sqlplus里define _editor="emacs"吗? |
|
|
E*V 发帖数: 17544 | 27 can I use emacs to toast my bread :)
find
'
to
file |
|
N****w 发帖数: 21578 | 28 好办, emacs 里面引进 vim 的编辑功能就好了 hehe
find
'
to
file |
|
|
m***i 发帖数: 2480 | 30
Isn't it ctrl-r in emacs? |
|
A**********e 发帖数: 3102 | 31 谁说的?呵呵。说说在 editing 上 emacs 比 vim 差的地方?
irc
emm
which |
|
A**********e 发帖数: 3102 | 32 matlab 自己带的就是 emacs 模式的。
vi 的确是太重要了,不能不会,否则机器出问题了,/usr 不能 visit,就傻眼了。
但是你的手指真的能够没有困难地记住两套快捷键么?
易见 |
|
n******t 发帖数: 4406 | 33 没问题啊。。
但是emacs现在我已经用鼠标和方向键多了,为了是保护手。 |
|
m*******3 发帖数: 226 | 34 你有emacs比较好的 教材吗?
我现在正在学这个,觉得要用熟练好难啊,
盼回复,谢谢 |
|
c****e 发帖数: 1453 | 35 发信人: ayanami (螃蟹@FROSTSHOCK PWNS YOU!!11!), 信区: Linux
标 题: Re: [原创] emacs和vim的区别。
发信站: BBS 未名空间站 (Mon Mar 16 14:18:17 2009)
How do you do "%" ?
(global-set-key "%" 'match-paren)
(defun match-paren (arg)
"Go to the matching paren if on a paren; otherwise insert %."
(interactive "p")
(cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1))
((looking-at "\\s\)") (forward-char 1) (backward-list 1))
(t (self-insert-command (or arg 1))))) |
|
A**********e 发帖数: 3102 | 36 我 vi 不熟哈,你是说找到上个匹配的左括号?这个肯定可以自己写,因为 emacs 里写
右括号时总会 jump 回左括号,把那个函数一改就成。不过这东西有用么? |
|
s***n 发帖数: 57 | 37 in emacs, there is "Ctrl + Alt + F" or "Ctrl + Alt + B" is doing sth similar
to %. |
|
r****t 发帖数: 10904 | 38 不知道怎么在 emacs 上面做 vim 的 # 和 * ? |
|
F*****e 发帖数: 139 | 39 It really doesn't matter that much whether you use vi or emacs. What matters
is to use one editor well. |
|
r****t 发帖数: 10904 | 40 只有 c++ 用这个多, ruby 和 python 好像没法用 % 来找 block, 所以。。。 lisp 的人用
emacs 了, java 的人用 eclipse 了。。 |
|
t****t 发帖数: 6806 | 41 which proves exactly what aya said, you have to write a script for that.
PS: i don't know or use emacs, don't throw bricks at me. i use vi pretty
well tho.:) |
|
w********e 发帖数: 557 | 42 个人浅见,vi快速简洁,emacs比较fancy,适合编程和觉得vi两个mode confusing的人
用。 |
|
w****g 发帖数: 597 | 43 http://en.wikipedia.org/wiki/Editor_war
Editor war is the common name for the rivalry between users of the vi and
Emacs text editors. The rivalry has become a lasting part of hacker culture
and the free software community.
Many flame wars have been fought between groups insisting that their editor
of choice is the paragon of editing perfection, and insulting the others.
Most participants in these arguments recognize that it is (largely) tongue-
in-cheek. Unlike the related battles over operating |
|
C********s 发帖数: 120 | 44 VIM和EMACS的区别,就是打字员和秘书的区别。
你要把一段文字尽快记录下来,就需要一个打字员。你需要一个处理事务
的助手,就需要一个秘书。
把秘书降格为打字员使用,是可能的,当然也可能会感到没有一个打字员
好使。
把打字员升级为秘书,就比较困难。当然现在打字员也意识到自己的定位
问题,想通过进修升级成秘书,衷心祝愿他早日完成学业。
打字员是随时可以替换的,你不需要花太多精力培训一个打字员就能得到
满意的表现。但是秘书不同,一个好的秘书需要很多时间和精力来培养。
一个好秘书就是你工作的一部分,你永远都不想再换一个。
打字员能做的就是以最快的速度把你的思想记录下来,但是一个秘书能做
的取决于你对他的使用。一个好的秘书不但能帮你处理繁琐的日常事务,
而且能帮助你养成良好的工作习惯,把工作重心不断地向抽象化的思考转
移。前提就是你愿意花时间把任何重复性的、事务性的工作交给秘书来完
成。
我以为对于一个喜爱编程的人,没有什么比一个可以通过编程来提高自己
编程效率的编辑器更好的工具了。对于这样的工具,效率的提高是没有上
限的。 |
|
a*****i 发帖数: 4391 | 45 写了这么老长,你也没说清楚关键点:
为什么vim是打字员,而emacs是秘书? |
|
A**********e 发帖数: 3102 | 46 他其实没说啊,他只是想让大家都跳出来说 vim 是打字员,emacs 是小秘,哈哈。 |
|
E*V 发帖数: 17544 | 47 我一直认为用专门的东西干专门的事情,用emacs听mp3?
我觉得恨部可以理解 |
|
C********s 发帖数: 120 | 48 emacs too
everything that's programmable is a platform |
|
C********s 发帖数: 120 | 49 这个不是设计的问题,是用户自己的选择。vim现在有一个趋势就是
实现emacs的各项feature, 我估计不久就有用vim听mp3的插件出现
了。 |
|
wy 发帖数: 14511 | 50 终于看懂她的意思了。他是说,emacs是小米,可以陪老板
唱歌(mp3), vim就不行,所以是打字员 |
|