as we know that we can use Vim to browse a directory. My question is what does number + Enter do on a file list?I thought it equivalent to number + j + Enter, however, after I enter into a file, using :b# leads me to another unpredictable location. Eg, suppose we have /A/B/f1 /A/B/f2 /A/B/f3 /A/C/f4 /A/C/f5.When I enter into folder A from Vim and the cursor is on ../, what will happen if I type 2 + Enter or 3 + Enter? When a file is open, what will happen when I type :b# in this case?Thanks!
What does number+enter do in Explore?
filesystem;netrw
The Enter binding of netrw is documented in the netrw-cr help section. It mentions nothing about any use of the count.I suspect the count is simply falling through to an internal function of netrw that is not prepared to handle it. Most of my own attempts resulted in the error message Invalid range: call s:UseBufWinVars(), and those that didn't did not form any recognizable pattern, though I did notice ending up in directories that were multiple steps away from the one that I had been browsing.Calling it with a very large count like 100 results in many instances of the same error message, suggesting something is being executed a number of times corresponding to the count.