So I’m trying out the features in IOS-XR instead of doing the usual “conf t”… but found out you have several editors to chose from!
RP/0/RSP0/CPU0:router#edit route-policy UPSTREAM-OUT ?
emacs to use Emacs editor
nano to use nano editor
vim to use Vim editor
Editing the config via the terminal results in it being overwritten, so you can only edit in this method 🙁
EDIT: OK, I found the text editor is useful for somethings, eg using VIM as the editor
text editor to replace text is good 🙂