Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Netrw Tree Style Listing moves the cursor to a different position.
Problem: Netrw Tree Style Listing moves the cursor to a different position when the user presses the Enter key to perform a directory listing; in a Netrw buffer that the user has reloaded with ':edit' or ':buffer'. Solution: The "Perform Directory Listing" part of the function 's:NetrwBrowse()' should only call 'winrestview()' when the listing style of Netrw is not tree style listing.
- Loading branch information