1) autofocus on main file (not NERDTree) and 2) keep the current line…