Term: thought-swimming
Example: i dove into a glass of wine the other night and ended up thought-swimming about my ex-boyfriend
Definition: to skim, delve and tread in your thoughts