Whilst "to + infinitive" is generally recognised as American English and "gerund" is technically British English, both are interchangeable. However, in British English we generally use "gerund" when talking generally and "to + infinitive" when talking specially.
"I like like swimming." vs "I like to swim in a lake on Sunday mornings."
This is true for other verbs of choice or emotion too (i.e. love/hate/prefer/dislike etc)