updates indent mappings to reselect last selection