Vi-mode command line editor

Hi,

I want to use vi-like key bindings to edit command line.

I found the following message:
root.cern.ch/cgi-bin/print_hit_b … #first_hit

but I can’t find any further information.
Please let me know how to set key bindings.

Thank you.

Best regards,
T. Mori

Hello,

I compiled ROOT with the readline library
and write “set editing-mode vi” in the file “~/.inputrc”.
Now I can take vi-mode only when I use CINT.

But I can’t take vi-mode with the ROOT command line editor.
Why?

// Soud I ask this question in ROOT Support?

Thank you.
T. Mori

Hi,

in ROOT we use a Getline library that only supports emacs like editing style.

Cheers, Fons.