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

no-tabs = true in ~/.config/neovide/config.toml does not work #2348

Closed
halostatue opened this issue Feb 8, 2024 · 1 comment · Fixed by #2441
Closed

no-tabs = true in ~/.config/neovide/config.toml does not work #2348

halostatue opened this issue Feb 8, 2024 · 1 comment · Fixed by #2441
Labels
bug Something isn't working

Comments

@halostatue
Copy link

Describe the bug

Neovide opens files in tabs. I dislike this and want to disable it permanently. Documentation suggests that I can put no-tabs = true in ~/.config/neovide/config.toml and it will act as if I passed --no-tabs on the command line.

It does not.

To Reproduce

Steps to reproduce the behavior:

  1. neovide *.md in a directory with multiple markdown files. Observe that the files are open in tabs.
  2. Add ~/.config/neovide/config.toml containing no-tabs = true.
  3. neovide *.md again. Observe that the files still open in tabs.

Expected behavior

Files do not open in tabs and do not waste horizontal space on the vim "tab bar".

Desktop (please complete the following information):

  • OS: macOS 14.3 23D56 arm64
  • Neovide 0.12.2
  • nvim 0.9.5

neovide_rCURRENT.log

Additional context

Trying to use ~/Library/Application Support/neovide/config.toml does not work, either.

@halostatue halostatue added the bug Something isn't working label Feb 8, 2024
@AThePeanut4
Copy link
Contributor

AThePeanut4 commented Feb 8, 2024

The docs aren't amazingly clear in general, but I think Settings currently available in the config file with default values: indicates clearly enough that the following settings are the only ones available in the config file.

https://neovide.dev/config-file.html#available-settings

But yes it would be nice to have this setting available in the config file. I never really open files from the command line with Neovide, but if I did, the silently added -p argument would definitely annoy me.

(Also, it would be great if all command line arguments that make sense to have in a config file could also be set in the config file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants