1) autofocus on main file (not NERDTree) and 2) keep the current line in memory when using <C-W>w, <C-W>l,...