GNU Nano gains optional modern keybindings

GNU Nano, by far my favourite text editor when using the command line, released version 8.0 recently – and by recently I mean a month ago – and in it, there’s a pretty interesting additional feature that should make using Nano a little bit more straightforward for those not used to its key combinations.

Command-line option –modernbindings (-/) makes ^Q quit, ^X cut, ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file, ^R replace, ^G find again, ^D find again backwards, ^A set the mark, ^T jump to a line, ^P show the position, and ^E execute.

↫ GNU Nano’s news page

Basically, this option makes Nano’s key bindings a bit more in line with what you might expect as someone coming from a graphical environment. Of course, Nano’s keybindings are listed at the bottom of its user interface, but it’s still nice to have the option of making them more in line with the wider computing world.

Instead of using the command-line option, you can also change the name of Nano’s executable, or a symlink to it, to start with “e”.


  1. 2024-06-05 6:10 pm
    • 2024-06-05 6:36 pm
  2. 2024-06-05 8:06 pm
    • 2024-06-06 11:20 pm
    • 2024-06-07 12:38 pm
  3. 2024-06-06 4:19 am
  4. 2024-06-07 12:54 am

Leave a Reply