0

I'm configuring nano to make quick edits while using sublime text for working on bigger projects.

I ran into some issues, one of which is not able to bind a single key chord to multiple functions. I tried the following but these don't work:

bind M-0  zero               main
bind M-0  linenumbers        main
bind M-0  zero,linenumbers   main

1 Answer 1

0

after a day of searching around i finally found the solution (WildBerry#4098 from r/unixporn discord server helped me conversation)

bind M-0 "{zero}{linenumbers}" main

edit: (for future reference) read the nano docs Rebinding Keys section (current docs: https://www.nano-editor.org/dist/v6/nano.html)

You must log in to answer this question.