added a new split-window-preview mode, preview can be updated immediately
while editing.