configure case insensitive and smartcase correctly