vim .
Now selecting a file I opened it, now how can I get back the previous window with that vim .
?
If you try to edit a directory (like vim .
) you get the directory explorer. Edit inside vim:
:e .
Thanks to jumplists, one can back up to the directory browser with Ctrl+O in normal mode. That will work best if you don't jump between files in the between.
C-o
will go back to the listing but the cursor will be at the end of the listing
C-^ will go back to the listing too, but the cursor will be at the beginning of the listing (e.g. the ..
line)
Does anyone know that how to go back the the previous line of the listing, I mean, if I open a file at the 5th line in the listing, when finishing viewing/editing that file, how to go back the position of 5th line in the listing?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With