Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Opens a [Scratch] window when using CtrlP or NerdTree #127

Open
viktorsmari opened this issue Apr 6, 2023 · 0 comments
Open

Opens a [Scratch] window when using CtrlP or NerdTree #127

viktorsmari opened this issue Apr 6, 2023 · 0 comments

Comments

@viktorsmari
Copy link

viktorsmari commented Apr 6, 2023

I am using NVIM v0.9.0-dev-613+gef18c9f9b and I started using context.vim a few days ago.

I noticed that when:

  1. I have scrolled down a file, and <context.vim> has started kicking in
  2. If I call Ctrl+P and look for a file
  3. I then try opening that file in a split using ctrl v
  4. It opens a [Scratch] window, instead of my requested file?

Before
image

After
image

Notice the top left, that git says the first lines have changed - I don't know why.
image

Instead of opening the file I requested called Gemfile it opens a new [Scratch] file or something I am not familiar with.

This does not happen if I have not scrolled down, and context has not kicked in. Only when I have scrolled down.

The same happens if I use the NerdTree plugin, select a file, and try to open it in a split.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant