move the outline function to vimrc, add more root and file match rule
update vi for terminal usage