Fetching details from the dictionary...
to take care; to mind; to be attentive
彼は入室前に心した。
He steeled himself before entering the room.
先生は生徒に心して聞くよう言った。
The teacher told the students to listen attentively.
将軍の前では、武士は常に心する。
Before the shogun, a samurai is always attentive.