TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Which text editor do you use, and why?

9 pointsby pyeuover 7 years ago

18 comments

Jtsummersover 7 years ago
Emacs, several reasons.<p>I learned to use it circa 2000 (after vim) while in university for my CS degree. It took some getting used to, but it stuck.<p>It&#x27;s incredibly versatile once you get to know it. It&#x27;s wonderful having a properly extendible tool. I wish every program I used was as easy to extend as emacs. This is the same thing that drew me to Common Lisp (running programs can be connected to and extended&#x2F;debugged without having to stop them).<p>Lisp, I took to it very quickly. Not sure why but everything about it just clicked in my head after a brief learning period.<p>It&#x27;s default installed on everything I use except Windows. The Windows port works well.<p>With emacs lisp, I have written up a number of (simple) modes to support various esoteric languages I&#x27;ve run across in my career that no editor supports (openly available but uncommon, or internally produced).<p>I don&#x27;t have to use a mouse. Everything is available via the keyboard. Being able to type about 100 wpm these days, that means I can instruct it as fast as I can think of what I want it to do.
cimmanomover 7 years ago
On Linux, Vim, because its ubiquitous and powerful.<p>On Mac, BBEdit. Like the other BBEdit user in this thread, I&#x27;ve been using it for over 15 years, and muscle memory counts for a lot. I also really love its side drawer for managing dozens of open files (Sublime nominally has one but it&#x27;s an afterthought and not very functional), and think its symbol navigator is very effective. I especially like the ability to have the same file open in multiple windows in order to view different parts of it at the same time. And nothing else I&#x27;ve used quite matches its incredibly rich multi-file search&#x2F;replace dialog or its search results displays (with a full listing of all instances, organized by file, navigable by keyboard, opening to the line in question in an editable buffer right in the window).<p>And it has so many incredible text processing features. Just to name a few, a feature that will replace non-ASCII characters with their nearest ASCII equivalents; a feature to find and process (in any number of ways) duplicate lines in a file; the ability to reopen a file using a different encoding; a built in diffing tool that will work on both saved files and unsaved buffers; preserving unsaved buffers across restarts and system reboots; Markdown and HTML preview modes; a menu for scripts to run against your files&#x2F;buffers; and the list goes on.<p>Oh, and it&#x27;s stable. In 15+ years of use, it&#x27;s never ever crashed on me. I can&#x27;t think of any other GUI program I can say that of. I&#x27;ve thrown 4GB files at it on a machine with only 512MB of RAM, and it somehow not only opened and rendered them nearly instantly but scrolled through them (and executed searches and search&#x2F;replace) like butter.
jxubover 7 years ago
VSCode. The startup time and speed are outstanding for something resembling so much an IDE, specially for Node and other dynamic languages.
评论 #16371024 未加载
评论 #16370600 未加载
eb0laover 7 years ago
vi and Sublime.<p>On my home (windows) machine I use Sublime. It&#x27;s the first editor I enjoyed after a long time.<p>vi: because it&#x27;s installed everywhere and - after working 20 years as a sysadmin - I can blindly edit whatever config file I need on a terminal.<p>Some^H^H^H^H time ago I was using the IBM e editor (<a href="https:&#x2F;&#x2F;winworldpc.com&#x2F;product&#x2F;ibm-e-editor&#x2F;3x" rel="nofollow">https:&#x2F;&#x2F;winworldpc.com&#x2F;product&#x2F;ibm-e-editor&#x2F;3x</a>) on DOS because it was easy in the eyes (dark and light gray vs yellow on blue) and had autocomplete for C !<p>:wq!
zapperdapperover 7 years ago
Emacs. I wrote a few reasons why I still use it here:<p><a href="https:&#x2F;&#x2F;coffeeandcode.neocities.org&#x2F;why-i-still-use-emacs.html" rel="nofollow">https:&#x2F;&#x2F;coffeeandcode.neocities.org&#x2F;why-i-still-use-emacs.ht...</a><p>Every now and then I play with other editors, but always end up coming back to Emacs.<p>There are some nice editors out there these days though: Atom, Microsoft&#x27;s Visual Studio Code is very nice too.
tsulover 7 years ago
vim:<p>- I enjoy terminal apps in general due to the uniformity enforced by my emulator’s text and color settings. And keeping my editor and shell in one app fosters a custom IDE-like experience<p>- I enjoy keeping my hands on the keyboard most of the time, though I have mouse mode enabled for things like resizing splits<p>- While I think you can be extremely productive in any of the big editors today, with vim something about its modes and command syntax make it really fun to discover new tricks and simpler ways of doing things<p>- Some version of vi is on just about every *nix machine<p>- The vim plugin ecosystem is very developed and plenty of useful ones to check out<p>- Similarly to plugins, there are thousands of dotfiles to peruse on GitHub for inspiration towards making your editing experience even better
sotojuanover 7 years ago
Sublime because it&#x27;s fast, does what I want, and I&#x27;ve been using it since 2012... lot of muscle memory and am too just used to it. I do have Vim keybindings on but I&#x27;m a light user of them. I haven&#x27;t tried much else, honestly.
mrks_over 7 years ago
Depends on how much time I plan to spend and the size of the project:<p>vim - quick edits<p>Visual Studio Code - medium-sized projects, Python or JavaScript<p>IntelliJ IDEA&#x2F;PyCharm - Java, or other large or complex projects
mindcrimeover 7 years ago
On Linux (that is,most of the time) Emacs, because I can&#x27;t stand modal editors (eg, vim).<p>When I&#x27;m forced to use Windows, I sometimes use Notepad++ for some things.<p>For coding I mostly use Eclipse.
csnewbover 7 years ago
I enjoying using vim plugins in Eclipse and IntelliJ IDEA. I get the best of both worlds: all the features of an IDE + vim text editing functionality.
Mononokayover 7 years ago
Sublime Text: because EMACS scares me, Vim controls only work well for a web browser, and because my preferred terminal font makes nano difficult to use.
perilunarover 7 years ago
BBEdit, since 1995.
craftyguyover 7 years ago
Vim. Because I hate having to use a mouse to edit text.
pcuniteover 7 years ago
Notepad++ because of the excellent &quot;find in all open documents&quot; feature. The way search results are displayed is good too.
qubexover 7 years ago
<p><pre><code> Nano (or rather Pico) because I am the perpetual n00b whose mind was stunted permanently by Micorpspft’s EDIT.</code></pre>
billconanover 7 years ago
mostly sublime text. I occasionally use vim.
SirLJover 7 years ago
vi - it&#x27;s everywhere by default...
romanovcodeover 7 years ago
Visual Studio Code<p>Notepad++<p>Visual Studio Express
评论 #16375967 未加载