Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

broken - jumping to file #2

Closed
Konfekt opened this issue Jun 25, 2024 · 3 comments
Closed

broken - jumping to file #2

Konfekt opened this issue Jun 25, 2024 · 3 comments

Comments

@Konfekt
Copy link

Konfekt commented Jun 25, 2024

With vim --clean -u ~/.vimrc and ~/.vimrc reading

set nocompatible
filetype plugin indent on
syntax on

and Vim 9.1.369 on Ubuntu 20.04 and autoload/netrw.vim from 2024 Apr 03, then e ~/.vim/vimrc<cr>- should position the cursor at the file vimrc.
Instead, it is positioned at \.., the first line after the banner.

@Konfekt Konfekt changed the title wide g:netrw_liststyle = 2 breaks - jumping to file broken - jumping to file Jun 25, 2024
@Konfekt
Copy link
Author

Konfekt commented Jun 25, 2024

Maybe relevant: tpope/vim-vinegar#136

@saccarosium
Copy link
Owner

Hey, sorry for the late responce. I was pretty busy.

I don't really get what you are reporting.

Do you mean:

If for example you are editing foo.vim, you press - and you are expecting that the cursor would be over the file you are editing.

../ < But it is located here?
./
foo.vim < You want the cursor here
bar.txt
foobar.vim

@Konfekt
Copy link
Author

Konfekt commented Aug 22, 2024

Yes, exactly, the issue is as you describe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants