情投意合

  1. (idiom) to have an affinity with each other; to find each other congenial

“suited to each other perfectly; mutual affection and agreement”

投:相合。形容双方思想感情融洽,合得来。

Origin 明·吴承恩《西游记》第二十七回:“那镇元子与行者结为兄弟,两人情投意合。”

Example 我们相聚既久,~,岂不知远别为悲?(清·李汝珍《镜花缘》第六十八回)