add tern and multi-cursors