[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A trick: how to set Ctrl-u to kill-whole-line in Octave command line on
A trick: how to set Ctrl-u to kill-whole-line in Octave command line on Linux
Tue, 30 Aug 2016 01:33:49 -0700 (PDT)
in Octave (as in bash), you have to use Ctrl-a + Ctrl-k or End + Ctrl-u to
clean the whole command line. This is quite annoying, especially when you
are a Matlab user, because in Matlab (as in zsh) you only have to press
Ctrl-u to clean the whole command line.
To make Octave behave like Matlab on Linux, the trick is to create a
~/.inputrc file with the following commands:
set bind-tty-special-chars off
Then after restarting Octave, you can clean the whole command line using
By the way, I don't know how to do this on Windows...
View this message in context:
Sent from the Octave - General mailing list archive at Nabble.com.
|[Prev in Thread]
||[Next in Thread]|
- A trick: how to set Ctrl-u to kill-whole-line in Octave command line on Linux,