Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • magit

    It's Magit! A Git Porcelain inside Emacs.

  • > even though I'm a terminal user ... I really like the discoverability of GUIs, and that's where a good GUI is unbeatable by CLI.

    CLI has poor discoverability? Sure; but even on the terminal, discoverability can still be good:

    A couple of nice examples of discoverability in keyboard-focused programs:

    - emacs' which-key[0]; there's a vim port[1] too. This shows you (some) of the available keybindings for the next input, and a short label. So you don't have to remember what `SPC h p ...` or all the options under `SPC f...`.. but it still helps to recall that `SPC h` is for 'help' related commands, `SPC f` for file related commands.

    - emacs' magit[2][3]. Magit is so good at discoverability, that I'd rate it as the best tool for using git with. I've learned more about git from using it.

    [0] https://github.com/justbur/emacs-which-key

    [1] https://github.com/liuchengxu/vim-which-key

    [2] https://magit.vc/

    [3] https://emacsair.me/2017/09/01/magit-walk-through/

  • emacs-which-key

    Emacs package that displays available keybindings in popup

  • > even though I'm a terminal user ... I really like the discoverability of GUIs, and that's where a good GUI is unbeatable by CLI.

    CLI has poor discoverability? Sure; but even on the terminal, discoverability can still be good:

    A couple of nice examples of discoverability in keyboard-focused programs:

    - emacs' which-key[0]; there's a vim port[1] too. This shows you (some) of the available keybindings for the next input, and a short label. So you don't have to remember what `SPC h p ...` or all the options under `SPC f...`.. but it still helps to recall that `SPC h` is for 'help' related commands, `SPC f` for file related commands.

    - emacs' magit[2][3]. Magit is so good at discoverability, that I'd rate it as the best tool for using git with. I've learned more about git from using it.

    [0] https://github.com/justbur/emacs-which-key

    [1] https://github.com/liuchengxu/vim-which-key

    [2] https://magit.vc/

    [3] https://emacsair.me/2017/09/01/magit-walk-through/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • vim-which-key

    :tulip: Vim plugin that shows keybindings in popup

  • > even though I'm a terminal user ... I really like the discoverability of GUIs, and that's where a good GUI is unbeatable by CLI.

    CLI has poor discoverability? Sure; but even on the terminal, discoverability can still be good:

    A couple of nice examples of discoverability in keyboard-focused programs:

    - emacs' which-key[0]; there's a vim port[1] too. This shows you (some) of the available keybindings for the next input, and a short label. So you don't have to remember what `SPC h p ...` or all the options under `SPC f...`.. but it still helps to recall that `SPC h` is for 'help' related commands, `SPC f` for file related commands.

    - emacs' magit[2][3]. Magit is so good at discoverability, that I'd rate it as the best tool for using git with. I've learned more about git from using it.

    [0] https://github.com/justbur/emacs-which-key

    [1] https://github.com/liuchengxu/vim-which-key

    [2] https://magit.vc/

    [3] https://emacsair.me/2017/09/01/magit-walk-through/

  • telescope.nvim

    Find, Filter, Preview, Pick. All lua, all the time.

  • Telescope[1] on NeoVim can provide such interface. It is not standard, but telescope is becoming really widespread.

    [1]: https://github.com/nvim-telescope/telescope.nvim

  • zellij

    A terminal workspace with batteries included

  • undotree

    The undo history visualizer for VIM

  • > I really hate autosave. I like using saving like a checkpoint where i have the ultimate undo button by ditching the unsaved changes.

    Although I don't use autosave, I don't think it matters that much with vim because you can always use undotree[0]

    0: https://github.com/mbbill/undotree

  • Vim

    The official Vim repository

  • Ctrl+Z sends a signal to the process which is purely advisory. The process can do anything or nothing. Vim's extensive and unreadable signal handling logic can be gazed upon at: https://github.com/vim/vim/blob/master/src/os_unix.c

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts