Live data from Hacker News

Poll: What is your primary editor?

news.ycombinator.com

61–70 of 99 posts

Re: Poll: What is your primary editor?

#61

Did anyone ever spend much time with Light Table? I gave it a chance when the Ruby plugin was new but missed my Sublime plugins and shortcuts too much.

I'm slowly trying to switch from Vim to Light Table. There are a couple of bugs in Vim emulation plugin that I think need to be solved before it becomes useful enough to me. E.g. issues with *-search.¹ But I'm optimistic those will get fixed fairly soon.

> missed my Sublime plugins and shortcuts too much

I'm not a Sublime user, but have you tried configuring Sublime-style keymap? Light Table uses CodeMirror, so first you may want to play with CodeMirror Sublime bindings demo.² If it's good enough for you, then it should be relatively easy to adapt Light Table.

1. https://github.com/LightTable/Vim/issues/13

2. http://codemirror.net/demo/sublime.html

Re: Poll: What is your primary editor?

#62
post #22

I use Sublime, but mainly because its search features are the best I've seen in any text editor. I can grep the entire codebase I'm working with for a specific string or pattern, or limit the search to specific kinds of files or files in specific directories, and see the results listed one after another in the find tab. Click on the result I want and I'm editing that file in that spot. I've considered trying out othe…

Not all "first-party" but Vim has a very very rich set of search and file management features:

http://benmccormick.org/2014/11/10/vim-workflows-file-switch...

Re: Poll: What is your primary editor?

#64

To my fellow Vim users out there, I would like to ask why you use Vim? For me, Vim is what my mentor was using so it's what I picked up. It's command-line oriented which is a huge win for me, and it's available everywhere (Mac includes it by default), and I haven't hit a roadblock that's been painful enough to get me to sincerely investigate other editors. What has led you to continue using your editor of choice?

Vim is what we used in school in my first programming class.

While I understand the appeal of IDEs, I hate autocomplete as I feel like it gets in the way more than it helps. I type faster than most people I know though so that is probably why I don't really appreciate the autocomplete. I really really hate having to constantly use the mouse.

Finally, I am fairly new to working but I really feel like using vim and the command line usually makes it so that you have a better understanding of what's happening. I don't think this is a problem inherent to IDEs but more that because they do so much for you, it's much easier to just get things done without actually having to understand what it's doing. I've had many teammates who could tell me how they got something working in terms of the steps they took in their IDE but could not tell me what those steps actually translated to doing (e.g. I went to this menu and did this as opposed to I had to add a dependency to so and so)

Re: Poll: What is your primary editor?

#66
post #22

I use Sublime, but mainly because its search features are the best I've seen in any text editor. I can grep the entire codebase I'm working with for a specific string or pattern, or limit the search to specific kinds of files or files in specific directories, and see the results listed one after another in the find tab. Click on the result I want and I'm editing that file in that spot. I've considered trying out othe…

Just a small sampling of what's out there that could search just as well or better:

For emacs:

  helm-ack[1]
  helm-ag[2]
  helm-git-grep[3]
For vim:

  ctrlp[4]
  unite[5]
[1] - https://github.com/syohex/emacs-helm-ack

[2] - https://github.com/syohex/emacs-helm-ag

[3] - https://github.com/yasuyk/helm-git-grep

[4] - https://github.com/kien/ctrlp.vim

[5] - https://github.com/Shougo/unite.vim

Re: Poll: What is your primary editor?

#68
I've been an Eclipse guy since college (12 years ago) and haven't seen any need to change. I used vim once for a small Ruby project (couple of days) and came away thinking "I don't see how, even with years of practice of keystrokes, etc, someone can be more productive in vim than a modern editor." And went right back to Eclipse.

Re: Poll: What is your primary editor?

#69

To my fellow Vim users out there, I would like to ask why you use Vim? For me, Vim is what my mentor was using so it's what I picked up. It's command-line oriented which is a huge win for me, and it's available everywhere (Mac includes it by default), and I haven't hit a roadblock that's been painful enough to get me to sincerely investigate other editors. What has led you to continue using your editor of choice?

Oh, I don't even know how to answer, really. I used quite a few editors (and IDEs) at one time or another, tried vim, because somehow it felt that everybody is supposed to try vim sooner or later, and still am using it. I don't feel like vim is perfect, it's just best what I've seen so far. Clones of Textmate and such doesn't really count as text editors after you used something like vim or emacs and probably I'm just not old enough to consider something like acme when I was still in search of a text editor. And vim ultimately is how software should be in my opinion: fully configurable through text, no UI if not needed, lots of simple shortcuts for everything (which isn't really achievable without modes, however it's what I understood only much later). And command-mode, yeah, it's crucial. In the last years there appeared several more editors striving for something like this: Yi (which looks promising, but I never tried it; and I suspect there's much worse situation with plugin availability yet, anyway), Sublime (isn't really better than vim to be worth switching, configs aren't as simple as vim's, didn't have solid vim-mode the last time I checked and is much less ergonomic by itself, also problems with plugins, and — huge disappointment, really — it's proprietary; proprietary text editor?! Just no.), Atom (I didn't play with it much, but I impressions aren't the best — first of, damned humans, they use WEB-BROWSER ENGINE to edit text in 2014! Not that my computer hangs up when I run Atom, but still it's pretty heavy; I somehow expected text-editor implemented by github to be more usable out of the box, and it isn't, cannot even properly highlight many languages out of the box; and this LighTable-style command prompt — I don't know how I feel about it; it's nice, but, again, there isn't such simplicity as in vim, it autocompletes everything even if I entered something comletely non-autocompletable; and I'm not that big fan of coffeescript). So, yeah, nothing good enough here. Several times I tried to switch to emacs, which I almost like (although, again, it also isn't perfect, too much built-in useless stuff (like ugly GUI) and I'd like to use some Clojure instead of elisp), but it just didn't play well somehow and I came back to vim every time.

But vim's simplicity also comes with few huge minuses: vimscript (and don't say "neovim" again, it solves nothing), and, well, no GUI (that is, even in gvim it's still only text-editor, you can't inline image or show rendered markdown or latext in the same window, no matter how much you want to). Both are pretty serious problems, as they slow down/prevent from making new plugins as easily, as in emacs for example.

So I see future like this: vim dies, everybody switches to neovim, because it's trendy, and I finally switch to emacs with evil-mode.

Re: Poll: What is your primary editor?

#70

To my fellow Vim users out there, I would like to ask why you use Vim? For me, Vim is what my mentor was using so it's what I picked up. It's command-line oriented which is a huge win for me, and it's available everywhere (Mac includes it by default), and I haven't hit a roadblock that's been painful enough to get me to sincerely investigate other editors. What has led you to continue using your editor of choice?

With as much time as I spend on remote systems for my entire career, Vim was a natural choice. At first, I used it simply due to this fact, but over time I learned more and more about Vim's capabilities, and I still use it regularly.

I've found MacVim to be a mixed blessing over the years; I appreciate the combination of fully featured Vim combined with the native Mac editor interface, but I honestly prefer to be in the terminal as much as possible.

Post reply on HN