Global ido mode and markdown mode