Context: Y has just told X that he/she is thinking of buying a flat in New York.

X: Are you planning to move there permanently?
Y: I plan to live in the city as long as my job needs me there, but with the hopes I'll be transferred to London.