You are not logged in.

#1 2010-01-07 10:26:14

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Vim or Emacs

Ok I'm a huge Vim fan... But I'm curious to know what other Arch linux users prefer and there reasoning for doing so. I prefer vim I think because I started life in it rather than Emacs, I have tried to like Emacs and just can't!

Sorry if this causes a flame war! big_smile


:: Github :: My AUR :: Coreboot ::

Offline

#2 2010-01-07 10:49:32

-KL-
Member
From: Sweden
Registered: 2009-12-17
Posts: 6

Re: Vim or Emacs

Vim! But I never realy tried emacs

Offline

#3 2010-01-07 11:19:18

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Vim or Emacs

I remember playing around with GNU Emacs 20 and hunting around the (badly organised) menus for half hour or so before concluding it needed a design rethink. wink

Later I started with vim and used it happily for a couple of years.  I only ever used it lightly (editing configs, small scripts) and never became too familiar with it (although I did intend to).

Then something made me give Emacs one last try, and years later I'm still using (and loving) it.  Having a single consistent and extensible environment for just about anything I want to do (inc. e-mail, news, IRC, IM, file manager, music, day planner, terminal, web browsing...) gives it the edge for me.  It is true: Emacs is a great OS, and no, it doesn't lack a decent text editor. tongue

Offline

#4 2010-01-07 11:27:16

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: Vim or Emacs

chpln wrote:

(inc. e-mail, news, IRC, IM, file manager, music, day planner, terminal, web browsing...)

These where some of the reasons I always wanted to like Emacs...


:: Github :: My AUR :: Coreboot ::

Offline

#5 2010-01-07 11:38:24

dr_te_z
Member
From: Zoetermeer, the Netherlands
Registered: 2006-12-06
Posts: 154

Re: Vim or Emacs

I'm too old to learn new tricks, but someone gave a demo of emacs once and I was very impressed. But everytime I try it I end up "smashing" the Esc key and that should be avoided when using emacs smile
So I'll stick to vi at work (aix)  and vim at home (arch, what else).


Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes

Offline

#6 2010-01-07 11:39:49

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Vim or Emacs

I use both of them. Well, Vim in the first place for almost everything. But when it comes to Lisp programming, Emacs is (as yet) unbeatable.

And, by the way, using several concepts keeps the mind flexible. tongue


To know or not to know ...
... the questions remain forever.

Offline

#7 2010-01-07 11:42:27

the_isz
Member
Registered: 2009-04-14
Posts: 280

Re: Vim or Emacs

You might be interested in reading the thread I started: Emacs vs. Vi: The challenge (no flamewar!)

I questioned the other way around, but maybe the contents are still valid for you wink

Offline

#8 2010-01-07 11:54:23

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Vim or Emacs

I have used vim for many years. I can't recall why I chose it over Emacs. I think I liked the Vim website.

Emacs does look good though. Slime is nice for working in Lisp and I like the fact it uses a lisp dialect for configuration.

Offline

#9 2010-01-07 12:37:43

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: Vim or Emacs

Of all the editors I've tried I dislike vim the least. Emacs makes me shy away because of the mc-x-mc-c-dosomething key combos, but maybe it's because I haven't challenged my views more than anything else.


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#10 2010-01-07 14:32:58

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Vim or Emacs

I use both, somewhat randomly.  I always use Vim for editing config files, though, and Emacs for writing (English, that is).  I'm not really comfortable with the two-pronged approach yet, as you can tell by watching me -- I try to type C-x C-c in Vim, and C-[ in Emacs, all the time.  But I reckon that'll come with practice.

Offline

#11 2010-01-07 15:07:28

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: Vim or Emacs

How do people switch between the two, beggers belief...

/me I got so use to VIM I have had to alias :q in my terminal...


:: Github :: My AUR :: Coreboot ::

Offline

#12 2010-01-07 15:09:40

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: Vim or Emacs

I've have used both, and prefer vim.

Offline

#13 2010-01-07 15:33:59

Minishark
Member
Registered: 2009-09-30
Posts: 23

Re: Vim or Emacs

I like how I barely have to move my fingers around the keyboard to get things done in Vim (it's this way by design).
Emacs, on the other hands, hurts my pinky.

Offline

#14 2010-01-07 15:35:33

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: Vim or Emacs

Minishark wrote:

Emacs, on the other hands, hurts my pinky.

Keyboard clobbering! lol


:: Github :: My AUR :: Coreboot ::

Offline

#15 2010-01-07 16:12:31

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Vim or Emacs

crankyadmin wrote:
Minishark wrote:

Emacs, on the other hands, hurts my pinky.

Keyboard clobbering! lol

This is the main reason I don't use emacs.  emacs does have a lot of awesome features, and imo is easier to get the hang of initially than vim.
but I've been using vim for quite a while now. and vimperator, and -o vi for command line editing.  It's easier for me to remember all of the features when they are just one key as opposed to the two to three keys required for most basic emacs commands. and hjkl cursor movement is really really nice.

one annoying thing about vim is that sometimes I accidentally leave the caps locked when I enter command mode (try it and watch the chaos ensue!). there's a hack to prevent  this, but I've been too lazy to implement it.

Last edited by Cyrusm (2010-01-07 16:16:07)


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#16 2010-01-07 20:44:45

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Vim or Emacs

Cyrusm wrote:

one annoying thing about vim is that sometimes I accidentally leave the caps locked when I enter command mode (try it and watch the chaos ensue!). there's a hack to prevent  this, but I've been too lazy to implement it.

There is a cure: Switch the Esc and CapsLock keys. Makes vim live a lot easier as well.


To know or not to know ...
... the questions remain forever.

Offline

#17 2010-01-07 20:52:11

jwcxz
Member
Registered: 2008-09-23
Posts: 239
Website

Re: Vim or Emacs

Arch Philosophy: KISS
Vim Philosophy: KISS
My Philosophy: KISS

Match found.

-----
I did a summer internship working on FPGAs and all my coworkers swore by Emacs, so I ended up learning a few tricks from them.  But more importantly, when they saw some of the things I could do in vim without pressing Ctrl or Meta, they became very, very interested in learning more.


-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers

Offline

#18 2010-01-07 21:45:38

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Vim or Emacs

bernarcher wrote:
Cyrusm wrote:

one annoying thing about vim is that sometimes I accidentally leave the caps locked when I enter command mode (try it and watch the chaos ensue!). there's a hack to prevent  this, but I've been too lazy to implement it.

There is a cure: Switch the Esc and CapsLock keys. Makes vim live a lot easier as well.

The real cure is actually to remap Caps Lock to Backspace. wink

Offline

#19 2010-01-07 21:52:34

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: Vim or Emacs

linkmaster03 wrote:
bernarcher wrote:
Cyrusm wrote:

one annoying thing about vim is that sometimes I accidentally leave the caps locked when I enter command mode (try it and watch the chaos ensue!). there's a hack to prevent  this, but I've been too lazy to implement it.

There is a cure: Switch the Esc and CapsLock keys. Makes vim live a lot easier as well.

The real cure is actually to remap Caps Lock to Backspace. wink

Backspace? I've never really learnt what to use that key for, i never use it. wink

Nah but seriously, vim with esc-caps switched is great, and it's damn easy to do it in X. Gaming is also way better with caps-esc when you have to close a menu fast because you're under attack, or when you have to pause the game quickly to calm down.

Offline

#20 2010-01-07 22:30:02

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Vim or Emacs

bernarcher wrote:

There is a cure: Switch the Esc and CapsLock keys. Makes vim live a lot easier as well.

That is a neat trick. Esc does get a lot more use than Capslock. Will enable that tonight and see if I like it.

D

Offline

#21 2010-01-07 22:36:11

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Vim or Emacs

bernarcher wrote:
Cyrusm wrote:

one annoying thing about vim is that sometimes I accidentally leave the caps locked when I enter command mode (try it and watch the chaos ensue!). there's a hack to prevent  this, but I've been too lazy to implement it.

There is a cure: Switch the Esc and CapsLock keys. Makes vim live a lot easier as well.

already done it (even on my windows computer at work. gotta love registry hacking) 

the problem is that I always forget to un-capslock when exiting insert mode.
but you can hack vim such that caps-lock only works as caps-lock in insert mode.

see this link: http://vim.wikia.com/wiki/Insert-mode_only_Caps_Lock


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#22 2010-01-07 22:54:47

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Vim or Emacs

Not many people seem to know this, but Ctrl-C does almost the same thing as Esc, and Ctrl-[ is identical.  I haven't hit Esc in months.

Offline

#23 2010-01-07 23:15:32

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Vim or Emacs

This has been discussed before... Repeatedly.

Next time why not try using the convenient SEARCH option built into the forums?


.:[My Blog] || [My GitHub]:.

Offline

#24 2010-01-07 23:28:27

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Vim or Emacs

I use notepad in wine.


neutral

Offline

#25 2010-01-07 23:36:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Vim or Emacs

sand_man wrote:

I use notepad in wine.

So does Dusty: http://archlinux.me/dusty/2009/12/14/a-quick-laugh/

Offline

Board footer

Powered by FluxBB