Getting along with

()() means to get along or be on the same wavelength. Literally, two people’s 気 (dispositions) 合う (match).

Dictionary Definition

(かんが)(かた)(かん)(かた)(つう)()う。

The way of thinking and feeling is understood by each other.

Goo Dictionary

Further Reading

Examples

Kindred spirits in golf with 気が合う

Learn the meaning and usage of the idiom 気が合う in Japanese, with examples from manga.
俺物語!! » Volume 3 » Page 170

Takeo’s girlfriend Rinko visits to study with him, but Takeo’s parents take turns interrupting them to get to know her better. Takeo’s father, Yutaka, asks if she watches golf.

凛子(りんこ):
「あ ゴルフですか。あんまり()ないです」
“Ah, golf? I don't watch a lot of it.”
(ゆたか):
「おもしろいよー!石川(いしかわ)くんとか()ってる?」
“It's fun! Do you know about Ishikawa-kun?”
凛子(りんこ):
「ハイ。(いえ)でお(とう)さんが()てます」
“I do. My father watches it at home.”
(ゆたか):
「お(とう)さん ゴルフする(ひと)なの。()()ね」
“So your dad's a golf guy. We're kindred spirits, eh?”

Kindrid spirits in drinking tea with 気が合う

Learn the meaning and usage of the idiom 気が合う in Japanese, with examples from manga.
老女的少女ひなたちゃん » Volume 3 » Page 104

Hinata escorts a classmate to the school nurse. There, she meets an elderly man sipping tea. Seeing her interest, the old man offers her a cup.

日向(ひなた):
「……オレもっ 学校(がっこう)でお(ちゃ)()めて(うれ)しーですっ」
“It also makes me happy when I can drink tea at school.”
おじいさん:
「おやぁ ()()いますね」
“Oh, we're kindred spirits, huh?”