Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    T

    Tom Ryder

    blog.sanctum.geek.nz · Personal blog · on HN since 2012

    Tom Ryder writes about Unix tools, Vim, shell usage and older utilities such as ed.

    Visit blogHN submissions
    Open Source & LinuxProgrammingProductivity
    What HN says

    HN commenters say they learned a great deal about Vim and obscure but historically important Unix tools, and single out the Vim koans as a favourite.

    Stats for nerds
    69HN people shared it
    46linked in comments
    1.8Kstory points
    Jul 2025last shared
    2012people per year2025

    Top posts on HN

    1. 1
      Using unix as your IDE
      16 people · 552 points · first shared 2012 · 127 comments on HN
    2. 2
      Vim anti-patterns
      2 people · 335 points · first shared 2012 · 142 comments on HN
    3. 3
      Vim: Buffers, Windows, and Tabs
      1 person · 207 points · first shared 2012 · 78 comments on HN
    4. 4
      Cron best practices
      1 person · 155 points · first shared 2022 · 52 comments on HN
    5. 5
      Actually using Ed
      5 people · 150 points · first shared 2012 · 89 comments on HN
    6. 6
      Vim Koans
      10 people · 147 points · first shared 2012 · 13 comments on HN
    7. 7
      Advanced Vim Registers
      2 people · 145 points · first shared 2012 · 21 comments on HN
    8. 8
      CLI RSS: RSS with Newsbeuter
      1 person · 43 points · first shared 2013 · 10 comments on HN
    9. 9
      Advanced Vim macros
      2 people · 17 points · first shared 2012 · 1 comments on HN
    10. 10
      Vim's built in IDE tools
      2 people · 6 points · first shared 2012 · Discussion on HN

    What HN people wrote when they linked it

    • breckinlogginsAug 2012

      Also cool to play around with are the various options that let GCC (and presumably LLVM) show you the various compilation stages of your C code. You can even spit out the C and resulting assembly side-by-side.

      I haven't had the time to play with this, but Part 4 of the excellent "Unix as IDE" series [1] goes into it and I'm sure there's more around the web.

      Another really fun way to get into the underlying assembler that the C compiler generates is Vidar Hokstad's "Writing a compiler in Ruby, bottom up" [2]. This series involves writing little C functions, compiling them to the simplest assembly you can get, then writing a ruby compiler (in Ruby!) that emits that assembly. Some people have objections to the approach, but it's really quite nifty. I especially like it because it's really refreshing to see a compiler tutorial that doesn't start with the lexer and parser.

      [1] http://blog.sanctum.geek.nz/unix-as-ide-compiling/
      [2] http://www.hokstad.com/compiler

    • johncoltraneSep 2012

      You were wrong, obviously, but the people who made you believe that with their stupid blog posts are wrong, too. I'd say they are more wrong than you.

      Those blog post are seriously misleading: at best, one can come up with a vim config that make it look like a stereotypical IDE: file tree on the left, class tree on the right, quickfix at the bottom, completion… But there's a lot more to an IDE than that. Because Vim will never understand your code as an IDE does it will never be an IDE, full stop.

      It can be the (super charged) editor module of your development environment but it would take a lot more than a blog post with cool screenshots to explain how and why. Even this 7 parts series is probably not enough: http://blog.sanctum.geek.nz/series/unix-as-ide/

    • scajanusOct 2022

      > Even after 1-2 weeks

      You should accept a longer trajectory -- say 1-2 years to learn it and 7 years to get good at it. But even then it means you need to review things you do, look for repeated patterns and wonder about/hunt down smarter ways of doing things.

      A big help for me when starting was hanging out in the Vim IRC channel (Freenode, I think). This stackoverflow reply is a classic on how to learn Vim: https://stackoverflow.com/a/1220118/4751065

      Bairui's blog has some good stuff, but sadly he left the IRC channel in 2015 then I guess: http://of-vim-and-vigor.blogspot.com/?m=1

      Finally, of course, the koans: https://blog.sanctum.geek.nz/vim-koans/

    • janogonzalezSep 2012

      According to Wikipedia (I know, not the most reliable source) a Kōan is a story, dialogue, question, or statement, which is used in Zen-practice to provoke the "great doubt", and test a student's progress in Zen practice.

      The main themes in this particular article are that Vi is not a silver bullet, that even using a great tool you can do a lousy lob and that tools are just tools.

      So more than an "incoherent flamebait" this is a list of Kōans about Vi created by someone that uses it and other Unix tools on a daily basis (as you can see on his other posts: http://blog.sanctum.geek.nz/)

    • s00pcanAug 2012

      This is the efficiency post that I kept coming back to when starting to use the command line more:
      http://shebang.brandonmintern.com/tips-for-remote-unix-work-ssh-screen-and-vnc

      I'm seeing a lot of people respond about using similar setups with different tools. It doesn't really matter whether you use awesome/xmonad/ratpoison or something else, but I can tell that the people who built the tools I use think about computers the same way I do (https://wiki.archlinux.org/index.php/The_Arch_Way). I'm striving for this:
      http://blog.sanctum.geek.nz/series/unix-as-ide/

    • conor-Jul 2023

      > I've never understood why people and to extend vim to try to make it half of an IDE.

      Because vim ships with any *nix machine and provides a consistent experience no matter where you use it.

      Vim is the DE part and people add plugins or whatever to enrich the text editing experience with LSPs or other language aware plugins, and the I in IDE is in the form of the integration with the tooling already available on the host.

      This[0] might shed some better light on the "why"

      [0] https://blog.sanctum.geek.nz/series/unix-as-ide/

    Related

    Sanctum (Tom Ryder)sanctum.geek.nz49 people

    Vim Anti-Patterns

    Sanctum (Tom Ryder)
    Personal · last shared 2026
    Eric Chiangericchiang.github.io16 people

    Analyzing Spotify Stream History

    Eric Chiang
    Personal · last shared 2025
    Chris Siebenmannutcc.utoronto.ca/~cks388 people

    Go is Google's language, not ours

    Chris Siebenmann
    Personal · last shared 2026
    Ryan Grovewonko.com28 people

    There's more to HTML escaping than &, <, >, and "

    Ryan Grove
    Personal · last shared 2021
    Ben McCormickbenmccormick.org27 people

    The Sad State of the Backbone Ecosystem

    Ben McCormick
    Personal · last shared 2025
    Textual Blogtextual.textualize.io54 people

    Algorithms for high performance terminal apps – Textual

    Textual Blog
    Company · last shared 2026
    Ksplice Blogblog.ksplice.com30 people

    I want to compile a C program so simple I can explain all of the assembly

    Ksplice Blog
    Company · last shared 2011
    Tom Preston-Wernertom.preston-werner.com165 people

    Readme Driven Development

    Tom Preston-Werner
    Personal · last shared 2026