added global visual line mode