Live data from Hacker News

From Vim to Emacs

juanjoalvarez.net

31–40 of 123 posts

Re: From Vim to Emacs

#31
post #25

Earlier quoted context omitted.

The only thing I really like in vim is the modal editing. Evil replicates all that stuff really well in my opinion. Plugins in vim are usually pretty poor compared to emacs, and vimscript is frustrating. Emacs Lisp is at least a consistent language, and one that I can figure out how to use much better.

I thought this was the case too, but YouCompleteMe is really terrific for Vim! I wish emacs had something similar.

Have you tried company-mode?

http://company-mode.github.io

Re: From Vim to Emacs

#32
post #16

Earlier quoted context omitted.

Try terminal Vim. I don't use MacVim and have very few issues with sluggishness.

I started with terminal Vim, began having issues with redraws, and made the switch. I find that MacVim is faster and more stable.

I use MacVim in the Terminal as well as a GUI.

Re: From Vim to Emacs

#33
post #16

Earlier quoted context omitted.

Try terminal Vim. I don't use MacVim and have very few issues with sluggishness.

I started with terminal Vim, began having issues with redraws, and made the switch. I find that MacVim is faster and more stable.

Try putting `set lazyredraw` in your .vimrc

Re: From Vim to Emacs

#34
post #8

I began using Vim about a month ago and it has been totally revelatory to me, and believe quite honestly that it was the best career decision I've ever made. The one thing, however, is its speed. MacVim gets very slow sometimes, particularly with buffers. So my question: How does Emacs and Vim compare speed-wise? I come from a Sublime Text background and really miss the ability to quickly navigate between tabs (buffe…

> it was the best career decision I've ever made I hear this a lot, and I'm not debating whether it's true or not since ymmv. I'm curious if anyone here has gone the other way. I used vi in my teens then switched to emacs, which I used for over a decade. A couple years ago I switched to JetBrains IDEs and have never been happier. I hadn't used an IDE since Borland Turbo C, and forgot what I was missing. Are there any…

I was a hardcore emacs user for over ten years but the extra features I get with a really good IDE like IntelliJ are worth the switch, IMO. Now I only use Emacs for quick & dirty edits.

Re: From Vim to Emacs

#35

Earlier quoted context omitted.

> it was the best career decision I've ever made I hear this a lot, and I'm not debating whether it's true or not since ymmv. I'm curious if anyone here has gone the other way. I used vi in my teens then switched to emacs, which I used for over a decade. A couple years ago I switched to JetBrains IDEs and have never been happier. I hadn't used an IDE since Borland Turbo C, and forgot what I was missing. Are there any…

I only started using intellij because it was the first IDE I'd ever used that had a decent vim keybindings plugin.

I used Eclipsed(ADT) and now using Android Studio. Eclipse has the decent vim plugin too. It can detect your vimrc and you can use your key-bindings. Only a while ago, Ideavim has this features where you can load the config with ~/.ideavimrc . Overall, IntelliJ is nicer IDE than ADT

Re: From Vim to Emacs

#36
"I'm totally addicted to modal text editing to the point that I feel crippled when I've to edit text in a non-modal editor...but if you can imagine somebody programming on an on screen keyboard on a tablet, you know how modal editor users feel about non modal edition."

And vice-versa.

Re: From Vim to Emacs

#37
post #28
post #8

I began using Vim about a month ago and it has been totally revelatory to me, and believe quite honestly that it was the best career decision I've ever made. The one thing, however, is its speed. MacVim gets very slow sometimes, particularly with buffers. So my question: How does Emacs and Vim compare speed-wise? I come from a Sublime Text background and really miss the ability to quickly navigate between tabs (buffe…

In Vim, a single badly-written plugin can make the entire editor feel sluggish. I'd recommend disabling your plugins one-by-one, until you find the culprit.

Yes, this is quite common. Come to #vim on freenode and we'll help you troubleshoot it. There's a large and welcoming community waiting for you over there.

Launch macvim as `mvim -u NONE --noplugin` and see if you can still reproduce your speed issues. If you can't, then your problem is not with vim, but with a plugin (or with your ~/.vimrc).

You can use bisectly[1] to do a binary search over your installed plugins looking for a faulty one. This is similar to how git-bisect works, and it's WAY more effective than disabling your plugins one by one. I've personally used repeatedly it to narrow down problems to vim-gitgutter, which is quite possibly the buggiest plugin I've ever used.

[1] https://github.com/dahu/bisectly

Re: From Vim to Emacs

#38
post #8

I began using Vim about a month ago and it has been totally revelatory to me, and believe quite honestly that it was the best career decision I've ever made. The one thing, however, is its speed. MacVim gets very slow sometimes, particularly with buffers. So my question: How does Emacs and Vim compare speed-wise? I come from a Sublime Text background and really miss the ability to quickly navigate between tabs (buffe…

> it was the best career decision I've ever made I hear this a lot, and I'm not debating whether it's true or not since ymmv. I'm curious if anyone here has gone the other way. I used vi in my teens then switched to emacs, which I used for over a decade. A couple years ago I switched to JetBrains IDEs and have never been happier. I hadn't used an IDE since Borland Turbo C, and forgot what I was missing. Are there any…

IDEs can be great for writing code for particular platforms — I don't think there are many people writing Objective-C or C# in vim — but it's hard to imagine "ditching" a general-purpose text editor for a platform-specific IDE.

Re: From Vim to Emacs

#39
post #8

I began using Vim about a month ago and it has been totally revelatory to me, and believe quite honestly that it was the best career decision I've ever made. The one thing, however, is its speed. MacVim gets very slow sometimes, particularly with buffers. So my question: How does Emacs and Vim compare speed-wise? I come from a Sublime Text background and really miss the ability to quickly navigate between tabs (buffe…

I am not an Emacs user so I can't answer your question there, but I thought you might want to know that I experienced the same issues with MacVim and speed. However, Vim from the terminal works a lot faster for me. Using it from the terminal also removes a lot of your crutches, and forces you to do things the Vim way rather than the GUI way.

Re: From Vim to Emacs

#40

Earlier quoted context omitted.

I thought this was the case too, but YouCompleteMe is really terrific for Vim! I wish emacs had something similar.

Have you tried company-mode? http://company-mode.github.io

This looks great! I can use Emacs again!! Thanks!
Post reply on HN