Dear expert,
In the bash shell, I can enable the vi mode for modify text using set -o vi
set -o vi
I would like to ask if ROOT also support a vi mode for editing the command in the interactive mode.
Thank you.
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
Hi @LongHoa , the ROOT prompt does not have a vi editing mode. It’s not exactly the same, but what I typically do is editing a script in vim. From there you can e.g. run :!root -l -b -q % (or add a keybinding for this).
:!root -l -b -q %
Cheers, Enrico
hi Enrico,
Though it’s not what I expect but it teaches me that vim can do more than just editing text. Thanks a lot!
Anyway, I just found out that ROOT prompt is kinda using emacs keybinding haha
Cheers, Long Hoa.