HN2new | past | comments | ask | show | jobs | submit | grandep's commentslogin

    cnoremap <C-P> <Up>

    cnoremap <C-N> <Down>
are two of the best lines I ever added to my vimrc.


Many people, myself included, prefer to work from the command line over navigating through highly constrained, clumsy GUIs. For those people, an editor designed for the terminal is a feature, not a bug.


Point taken; I'll start a terminal to launch vi over using a GUI-based editor.

I like many of the Jetbrains editors; but for a small job, if I don't have Idea running, it's quicker to launch a terminal.


I started programming professionally in 2015. I’ve tried all the “big name” GUI editors: Eclipse, IntelliJ, Sublime, Atom, Notepad++, VSCode. Now I use vim full time and I love it.

I grant that vim is not the most user friendly, but if you take the time to learn it it can do almost everything most IDEs do, including symbol based navigation, “fuzzy finding”, search-and-replace, etc. And that’s just native Vim — some plugins make these features completely comparable with (or better than!) IDEs.

I’m convinced that modal editing is the most efficient way to edit text, and vim’s biggest feature is how tightly integrated it is with the terminal. In a GUI editor, using a terminal means either using a subpar integrated terminal (like in VSCode) or switching over to my terminal emulator to run some commands and then switching back. Since I spend a lot of my time in the terminal, this is a big deal for me.


What makes you say this? I don't necessarily _love_ Vimscript but it's a fairly straightforward imperative language. I also never understood why so many people rave about Elisp.


I mean, Elisp isn’t the greatest as languages go, but it’s really nice actually (compared to all the other languages that you use to script editors). The joke that everyone makes about emacs is “it’s an operating system with an editor on top” is actually 100% true. Emacs is built on top of Elisp, which is a testement to it’s power.

From your comment, it sounds like you’ve never used emacs/elisp. Why don’t you give it a try? With evil-mode, you don’t even have to give up your vim keybindings! Emacs is the most configurable and powerful editor in existence, and that’s not an opinion, it’s a fact.

PS: I actually use Intellij for my day to day scala work, but emacs is still the best (given enough time to configure/program the way you want).


I actually did try Emacs for a while for exactly the reasons you point out. I heard how great it was and wanted to see for myself what all the fuss was about. I used it exclusively for a few months and gained some familiarity with Elisp, but eventually ended up going back to Vim (for a variety of reasons that I'll not get into here). In my experience Vimscript is "easier" in the sense of going from an idea of something I want to do to actually implementing it.

Even after using Emacs + Elisp for all that time, I never experienced that transcendental moment that so many fans of Lisp dialects seem to share.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: