Home » Questions » Computers [ Ask a new question ]

Default key-binding to clear the command line

Default key-binding to clear the command line

What is the default keybinding under Midnight Commander for clearing the command line at the bottom ? ( not the one you get with Ctrl-O, but the one-line prompt )

Asked by: Guest | Views: 35
Total answers/comments: 2
Guest [Entry]

Ctrl-w works if you are at the end of the line. Otherwise you need Ctrl-k too.
Guest [Entry]

"Analog to harrymc's answer, which is CTRL+A to jump to the beginning and CTRL+K to clear from cursor to line end, you may also use:

CTRL+E to jump to the end and CTRL+W to clear from start to the cursor."