Live data from Hacker News

Poll: Which is your primary text editor?

news.ycombinator.com

111–120 of 163 posts

Re: Poll: Which is your primary text editor?

#111
post #103

For the pure editing of text, Vim is the clear winner. Whether that's all you want, is another question.

If only working with multiple files was easier... what are you guys using these days ? [edit] Also, one thing that shows how Vim is oriented towards opening and closing it all time is that preventing acidental quitting is quite hard to achieve (only with hacks..)

I've aliased vim -> "vim -p" which opens files into multiple tabs when passed as arguments.

I've rebound the arrow keys to switch and move tabs and buffers.

* up/down: previous/next buffer

* left/right: previous/next tab

* shift left/right: move tab to left or right

    inoremap  :bprev
    inoremap  :bnext
    inoremap  :tabprev
    inoremap  :tabnext
    noremap  :bprev
    noremap  :bnext
    noremap  :tabprev
    noremap  :tabnext
    nnoremap   :execute 'silent! tabmove ' . (tabpagenr()-2)
    nnoremap   :execute 'silent! tabmove ' . tabpagenr()
As for working with multiple files easier when vim's already open, it's a combination of Command-T, Buffer Explorer, and NERD tree.

Re: Poll: Which is your primary text editor?

#114
Geany on Linux, JEdit on Windows. Line numbers, full paths, reasonable cursor behavior, color-coding for various languages, plugins, keybindings are mostly conventional and fully configurable, etc. - and both are GPL.

Re: Poll: Which is your primary text editor?

#115
post #33

Earlier quoted context omitted.

Sublime Text 2 is kind of the spiritual successor to TextMate.

Given that Sublime Text does not look like a Mac app, and that TextMate was a Mac only app that looked very much like a Mac app, I find it to not be 'spiritual successor' in any shape or form. Sublime Text 2 is a cross-platform application. Having said that, Sublime Text has borrowed some good ideas from TextMate, but many editors do that these days.

I totally agree here. Sublime is just an rebound. People will move on. I think they should converge to Old Editors like Vim/Emacs because Editors like these don't die, they never have. They keep coming back, like a Zombie (Not the best example I could come up with).

But being on Emacs gave me an advantage of persistence. In past I have changed companies, development machines, operating systems and programming languages but never editor. It was always there, available.

Post reply on HN