HackerTubewatch
Surprise me
Frame from 7 Habits For Effective Text Editing 2.0 Plays via YouTube's privacy-enhanced embed

7 Habits For Effective Text Editing 2.0

6 videos recommended on HN
YouTube
5 HN users recommended this talk6 months2013–2023 score 7
Years with an HN recommendation, 2007–2026

HN recommends it as a lasting philosophy for improving your editing process incrementally, and it was widely remembered after Moolenaar's death.

Vim creator Bram Moolenaar's 2007 Google Tech Talk on habits for efficient text editing. He explains how to spot repetition and inefficiency, then use editor features to fix it.

“There is a wonderful presentation called '7 Habits For Effective Text Editing 2.0' [1] explaining this philosophy.” (HN, 2014)

3 strong recommendations · 4 recommendations · 2 citations · Talks · intermediate

9 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@Monkeyget Jul 2014 Strongly recommends
on HN thread Master Emacs in one year
Read more
It takes a year because you learn it over time. Learning a tool progressively is the best way to go. There is a wonderful presentation called '7 Habits For Effective Text Editing 2.0' [1] explaining this philosophy. The idea is to get the basics down upfront and then get more proficient gradually over time. When you use the tool you stay aware of what you are doing. When you find an inefficiency in the way you use the tool, find a quicker way and make it an habit. This is the most efficient. If you only care about the code you have to type right now and never read the editor's documentation nor learn new commands you'll keep using only basics commands and never will gain proficiency. Not efficient. If on the other hand you try to learn every feature immediately you'll waste time learning things you won't use and forget most of them anyway. Not efficient. [1] [this video]
Learn editors progressively by fixing inefficiencies as you find them
@tzhenghao Aug 2023 Strongly recommends
on HN thread Bram Moolenaar Passed Away
Loved his "7 Habits For Effective Text Editing 2.0" (2007) talk and humor [1] "How many of you are mostly using Emacs?" a bunch of raised hands "Okay, we'll try to convert some people today!" RIP, Bram Moolenaar [1] - [this video]
Moolenaar's humorous, well-loved talk on editing habits
@1-2-3-5-8 Aug 2023 Strongly recommends
on HN thread Vim Boss
Thank you Bram for everything. Your talk, 7 Habits For Effective Text Editing 2.0 inspired me and it started my Vim journey. Using Vim all these years has been a complete joy. You will not be forgotten. Link to the talk: [this video]
Talk inspired the commenter's Vim journey
@adem Apr 2014 Recommends
on HN thread A Quick Guide to Sublime Text
The only thing you need to read about Vim to get started is here: [link] , the rest is learned pretty much by the following principle: 1. Detect inefficiency for a particular task 2. Find a faster way to do it 3. Make it a habit You can learn more about this approach in this video: [this video]
Approach: detect inefficiency, find faster way, make it a habit
@e12e Aug 2015 Recommends
on HN thread Speed matters: Why working quickly is more important than it seems
Reminds me of Mjoolnar's (author of vim) talk on 7 habits of effective editing 2.0; the core idea is essentially (my current interpretation): awareness: look for repetition - they are candidates for automation and/or being more effective. Rule of three: If you do something (anything) 3 times - figure out if it can be done more efficiently. In vim (or any other editor) an example might be shifting the indendation of code: maybe you only remember how to do it a line at a time; figure out how to work on blocks of code; figure out how to do it on a file - a whole project. [this video]
Look for repetition, automate after doing something three times
@e12e Apr 2016 Recommends
on HN thread Vim 8.0 is coming
Read more
Personally, I find vim's modal editing to be very efficient. When starting from a clean slate, it doesn't really matter much -- but when changing/ editing existing text/code, I find it feels much more natural. It also works well without using the mouse, which is important to me because of carpal tunnel syndrome (and also helps when working without a proper mouse, such as on laptops). I've only toyed with emacs, but based on that, I don't think emacs' idea of keyboard "chords" is as good a fit as vi(m). With standard keybindings, it also puts a strain on my wrists. Modal editing and the "edit language"[1] (verbs, nouns, modifiers (and motions), like dw=delete word, dd/dl=delete line, d$=delete from cursor to end-of-line, dG (delete to endo-of-file, where gg/G is motion for moving to top/bottom of file respectively), ciw()<ESC>P=change inner word (cut word under cursor to buffer), add "()", escape out of insert mode, paste word between "()"). These look cryptic, but quickly starts to feel quite natural and intuitive. My impression is that Emacs' Evil-mode has evolved quite a lot lately, and allows one to combine the best of both: a much better programming language (scheme dialect) for customization, with modal editing and vi(m) key bindings. But I've yet to play with it. If you don't mind using the mouse, you might also want to look at ACME[2] - it's a bit more exotic, and unfortunately hasn't gotten as much support as VIM/Emacs. The creator of Vim, Mjolnar, has a great video o
Moolenaar's talk on effective editing habits
@e12e May 2016 Recommends
on HN thread New GNU Emacs website
Read more
> indexes everything So should your text editor (and/or it's companion programs) > and provides superior auto-completion. See above. Superior is a bold claim, superior out of the box for "strongly" supported languages, perhaps? (Eg: one way of working with java in vim is to use eclipse for extracting some information about a project[1]) Personally I'm more familiar with vim, than with Emacs -- arguably the main difference is that Emacs has one standard and sane scripting language (lisp), while vim doesn't (I'm very happy a lot of masochists work tirelessly to provide vim plugins for everything I need (and a great deal I don't) -- but I think it's hard to argue that vimscript is a "good" language. And having other bindings (eg: ruby, python) is a bit of a mixed blessing)). But what they have in common, is a strong focus on making it easy to automate transformation of text. Any kind of text. With any kind of automation, via commands. As such they empower a continued process of improving the process of writing and editing. I like Moolenaar's (vim's creator) short text and expanded talk on 7 habits of effective text editing: "7 Habits For Effective Text Editing 2.0": [this video] "Seven habits of effective text editing": [link] I often feel that modern IDEs with typical "modern" languages, tend to trap you in a certain way of working that is "with" the IDE, that tend to be counter-productive if that "one true (editing) process" doesn't fit. And they tend to provide only something like
Moolenaar's talk on continually improving the editing process

Citations, criticism and jokes

@oelmekki Mar 2013 Cites it
on HN thread Just Use Sublime Text
Read more
In the next article : "Buy a lot of software and don't learn programming. It's hard, and after four years, I still can't write anything someone else didn't do better !" Not only I can confirm that after 7 years of vim, I feel really more productive than when I use any "intuitive" editor, but now I've remap all my window management (either X or tmux) to similar mapping. One point I can agree, though : vimscript is a real pain in the ass, which defeats what Bram Moolenaar say should be our process - detect repetition and automatize it seamlessly. [1] It will only be empowered when we'll have a full featured language to do so. [1] [this video]
Moolenaar's process of detecting repetition and automating it
@e12e Jun 2016 Cites it
on HN thread Visual Studio Code 1.2 released
Read more
> Sorry, I don't mean autocomplete. I mean other editors that do not rely on a large number of keyboard shortcuts. I have never seen someone use vim quickly. I'm not sure I follow. Have you seen people use vim slowly? Or have you not seen anyone use vim at all? Vim (from v7?) has built-in "omnicompletion", by default bound to ctrl-n -- that you can use for everything (by default it "tab completes" against words in the buffer/file). There are various plugins for eg: writing html, and ways to set up full autocompletion. In general though, typing isn't what limits productivity -- and I've seen some studies that indicate that even though people think they're faster using just the keyboard, most people are actually faster at editing text with a mouse (Obviously, people type faster on a keyboard). Personally I prefer vim for two reasons: 1) I can't use a mouse day-to-day due to latent carpal tunnel syndrome, and 2) I feel it's easier to stay in the flow, and work efficiently with a modal editor. This has to do with vim's use of verbs, nouns (text objects) and modifiers/ranges (adjectives/adverbs)[1] - eg. 3dl (3x delete line) and 3dw (delete 3 words). The other has to do with easily moving around by regex, or go directly to line-number. For a look at what a "modern" graphical text editor could/can work like, have a look at Russ Cox demoing how he works with the ACME editor: [link] If I could use the mouse for editing, I'd try to learn ACME. I still think it might be an interesting

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close