Skip to main content
added 38 characters in body; edited title
Source Link

Is it possible to How can you bind ^[ or M-[ keysshortcut to an action in nano?

I have been trying to bind the shortcut CTRL-[ to the unindent function, but it seems like that if you type in bind ^[ unindent main (CTRL-[) into nanorc, the text will be still formatted in red, not the usual green which tells you that the binding would work. I tried changing the shortcutit to bind M-[ unindent main (ALT-[), but it still didn't work. Strangely, both CTRL-] and ALT-] works. Is there a way to solve this problem?

Is it possible to bind ^[ or M-[ keys in nano?

I have been trying to bind the shortcut CTRL-[ to the unindent function, but it seems like that if you type in bind ^[ unindent main into nanorc, the text will be still formatted in red, not the usual green which tells you that the binding would work. I tried changing the shortcut to ALT-[, but it still didn't work. Strangely, both CTRL-] and ALT-] works.

How can you bind ^[ or M-[ shortcut to an action in nano?

I have been trying to bind the shortcut CTRL-[ to the unindent function, but it seems like that if you type in bind ^[ unindent main (CTRL-[) into nanorc, the text will be still formatted in red, not the usual green which tells you that the binding would work. I tried changing it to bind M-[ unindent main (ALT-[), but it still didn't work. Strangely, both CTRL-] and ALT-] works. Is there a way to solve this problem?

Source Link

Is it possible to bind ^[ or M-[ keys in nano?

I have been trying to bind the shortcut CTRL-[ to the unindent function, but it seems like that if you type in bind ^[ unindent main into nanorc, the text will be still formatted in red, not the usual green which tells you that the binding would work. I tried changing the shortcut to ALT-[, but it still didn't work. Strangely, both CTRL-] and ALT-] works.