A foldamer-based chiroptical molecular switch that displays complete inversion of the helical sense upon anion binding.