Improve ido mode with better fuzzy matching and vertical alignment