Match case when comparing visual mode

Closes #4.