Thinking is used as noun, so your sentence is correct but not common. Thought is a better word for that context. You had better say I know the way you think.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.