When using netrw
or the native vim file explorer, every time I click on ../
, the cursor moves to the top of the page. This is very irritating when I'm trying to go up multiple directories - I have to scroll back down to the ../
and click again, only to have my cursor sent to the top of the buffer yet again.
Is there some way to prevent this?
I'm using Vim 7.4, with the following netrw
specific setting:
let g:netrw_liststyle=3
gvim /home/martin
, and then tried both selecting../
with the keyboard (Enter) and clicking on it with the mouse. I go up a directory, and in this new directory../
is selected again. Perhaps the problem is something in your vimrc file? Try How do I debug my vimrc file?. – Martin Tournoij Mar 26 '15 at 15:47vim -U NONE
– user489 Mar 26 '15 at 15:59let g:netrw_liststyle=3
;-) By the way:vim -U NONE
prevents loading the gvimrc file, not the vimrc file. You need to usevim -u NONE
;-) – Martin Tournoij Mar 26 '15 at 16:07