From Visual Studio to Vim or Emacs?

Next month I am starting a new job. I practically live in Visual Studio professionally for 10 years, give or take, but for this work I will work full time on the linux platform for the first time in my life.

During one of the interviews, I sat in the middle of the room to talk with the crowd. We had a light conversation for ten minutes, and then one of the guys said: "OK, now on a really important issue - Vim or Emacs?"

I told them that I was not very experienced working on Linux, so I had no real opinion. But the question was a dilemma for me, as I would like to enjoy my potential work environment before starting.

I suppose that before starting work I won’t be able to unravel the full potential of both of these editors, so to choose the one that works best for me, the question arises: which of Vim and Emacs will make me the most comfortable and efficient (working with C ++ ) if I'm all about Visual Studio right now?

+4
source share
10 answers

If you are ambiguous, the only right answer is: use what people around use.

+32
source

Find two cheat sheets, print them. look at them for a while.

or perhaps if you are a piano / keyboard / zylophone / player, select emacs as your more chorda. select vim if you play the guitar as its more arpeggio.

+18
source

It will sound silly, but I use vim because the keyboard shortcuts are basically one finger at a time (if not, you can change one hand and the key with the other), and I map esc to something simpler. Emacs requires more distortion and hurts my hands.

+6
source

Both vim and emacs have pretty steep learning curves, but the power you get is totally worth it.

I'm a vim guy, so I would recommend him in a natural way, you can easily switch to basic editing, and a single-mail cheater can help you a lot. Emacs needs a little more memorization of its Cx C-... commands, but I think emacs users will say that it’s nothing.

If you were wondering about the IDE options:

  • Try integrating the eclipse environment on Linux.
  • If you are using a Mac, try xcode.
+4
source

Go with Emacs. He is friendlier and will facilitate the transition from Visual Studio.

+3
source

If there is consensus in the office, go with what they use. Using the same editor as everyone else will simply simplify your life.

If there is no consensus, you will need basic knowledge of both editors. (open the file, perform basic changes, save the file).

No one will feel something like Visual studio. They are both very powerful, and they are both quite capable of doing whatever they want.

However, for many years I have been leaning towards vim because I find it harder for me to get lost in this user interface when I cannot remember what I'm doing.

I also noticed over time that emacs are a little more touched when it comes to tty settings. On today's machines, which are not a problem, but if you ever encounter old mechanisms, it is my experience that vim is much more likely to work on a winning terminal than emacs.

+3
source

which one do you choose; just become proficient in this (and think about teaching another)

+2
source

This is a "religious theme on which the editor is better." The best advice would be to work with what you feel comfortable with and refuse to get involved in it, as has been happening for many years! To begin with, why not download the Linux distribution (a small distribution such as Puppy Linux, DSL or Slitaz) and burn them to a CD and reboot, so you can find out what it means to work on Linux and move around. Better yet, use a virtual box, boot into a full-blown Linux distribution (Debian, Slackware, FreeBSD, Ubuntu, Fedora, which you will name it), and use both editors to feel it, and you will find out who is more convenient with you and stick to It ! I can risk getting it down ... but that's the only way to find out. Hope this helps, Regards, Tom.

+2
source

Oi :-) You will quickly find out that there are two camps. http://en.wikipedia.org/wiki/Editor_war

Use what you like :-)

0
source

I would choose vi / vim, but that's just me. There's also gvim, which works like vim, but offers menus and nice graphical interactions.

But I think that C ++ should have a more full-featured IDE than vi or emacs, and it would be weird if they just used basic editors. Unless there is some fancy way to refactor and suggest in vi / emacs that I don't know about.

0
source

All Articles