Thursday, April 18, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 2984  / 2 Years ago, mon, january 17, 2022, 11:54:08

The Alt key is used for many useful commands, but unfortunately it's caught by the terminal window to activate the window menus (File, Edit, ...).



I would like to either force the terminal window to pass Alt to the terminal or get nano to use some other key/combination (I'm using GNOME Terminal 2.32.1).



ps: There is a related, but different question here where it's pointed out that Ctrl + Right Arrow cannot be bound to "move forward a word".


More From » command-line

 Answers
1

The terminal emulation handles that already. If a key combination with ALT is used by the terminal itself, you can just substitute ALT with ESC. For example, if you want to count characters, words and lines in nano and ALT+D is used by the terminal, just type ESC+D.


[#40081] Monday, January 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lasagnerhead

Total Points: 487
Total Questions: 105
Total Answers: 122

Location: French Southern and Antarctic Lands
Member since Sun, May 3, 2020
4 Years ago
;