Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How to disable dashboard when open buffer on open nvim #475

Open
JefferyBoy opened this issue Aug 6, 2024 · 1 comment
Open

How to disable dashboard when open buffer on open nvim #475

JefferyBoy opened this issue Aug 6, 2024 · 1 comment

Comments

@JefferyBoy
Copy link

When write something on open vim:

echo "hello" | nvim -R

@netikular
Copy link

I know that it isn't exactly what you are looking for, but digging through the plugin code I found that there is a global variable that looks like it is supposed to do this but it isn't being set.

The dashboard plugin is checking it tho. So if you set it yourself it "works"

echo "hello" | nvim -c "let g:read_from_stdin=v:true"

That does the thing that you want. I'm using it because I have some scripts that launch telescope for dealing with my notes. And when the dashboard was there the buffer was always not modifiable so my scripts didn't work.

This "fixed" it for me.

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

No branches or pull requests

2 participants