Hacker News new | ask | show | jobs
by gkafkg8y8 3494 days ago
Kilo's supported commands are[1]:

  CTRL-S: Save
  CTRL-Q: Quit
  CTRL-F: Find string in file (ESC to exit search, arrows to navigate)
It's available in a lot of well-used distros: https://pkgs.org/search/kilo but doesn't look like it's in Arch, etc.

Kilua looks cool also as it has more similar keybindings to Emacs[2]:

  Ctrl-x Ctrl-o Open a new file in the current buffer.
  Ctrl-x Ctrl-s Save the current file.
  Ctrl-x Ctrl-c Quit.
  
  Ctrl-x c      Create a new buffer
  Ctrl-x n      Move to the next buffer.
  Ctrl-x p      Move to the previous buffer.
  Ctrl-x b      Select buffer from a list
  
  M-x           Evaluate lua at the prompt.
  Ctrl-r:       Regular expression search.
but the goal would be to have that available in a package manager in a default install, so that after logging into any server where I'm a sudoer, I could:

  sudo apt-get install some_package
  sudo yum -y install some_package
  pacman -S some_package
  ...
[1]: https://github.com/antirez/kilo [2]: https://github.com/skx/kilua