Giter Site home page Giter Site logo

Comments (8)

akiyosi avatar akiyosi commented on June 2, 2024 1

@ashrasmun
Hi :)
Your approach is correct.
If this does not maximize, there are the following possibilities.

  • The maximization process is being overwritten by another resizing process in neovim's configuration file or plugin
  • The maximization process is being overwritten by a window manager software or other process.

Try the following command. This command launches plain Neovim at the maximum screen size.

goneovim.exe --maximized -u NONE

from goneovim.

akiyosi avatar akiyosi commented on June 2, 2024 1

@ashrasmun
Oh, is the behavior you are expecting full-screening?
If so, the following command can do it.

goneovim.exe --fullscreen

from goneovim.

akiyosi avatar akiyosi commented on June 2, 2024 1

@ashrasmun
Use GonvimFullscreen command.

The window can be made full screen by executing :GonvimFullscreen or :GonvimFullscreen 1 .
Also, by executing :GonvimFullscreen 0, the full screen can be exited.

@gerroon
Add the following in your settings.toml. About settings.toml, See https://github.com/akiyosi/goneovim/wiki/Usage#configuration

[Editor]
# ...
RestoreWindowGeometry = true

from goneovim.

ashrasmun avatar ashrasmun commented on June 2, 2024 1

Damn, there are so many great options there. I don't know how have I missed them. Thanks a lot again! Goneovim is the best! :)

from goneovim.

gerroon avatar gerroon commented on June 2, 2024 1

@akiyosi thanks for the reply.

As far as I can tell the .toml setting you provided does not work on windows 11. It still starts small after a restarting of the app. Is there anything special that needs to be done? Or maybe the location of the setting is wrong.

Also I am using it with vanilla LazyVim, not sure if that might be doing anything else.

C:\Users\USER\.config\goneovim

EDIT:

It actually works, epic. There was another line with the same setting that was setting back to the default I think. No more struggling it with scaling it.

from goneovim.

ashrasmun avatar ashrasmun commented on June 2, 2024

I've tried the command you've mentioned, but to no avail :( It's maximized, but I can still see the Windows bar on the bottom and the title bar.

image

I guess I'll just force it externally by changing window's settings via winapi.

from goneovim.

ashrasmun avatar ashrasmun commented on June 2, 2024

Works like a charm, thank you! I guess that white flashback is a bit of a nuissance, but it happens only once per invocation, so whatever. Is there an option to switch in and out of this mode when I'm in Nvim already?

from goneovim.

gerroon avatar gerroon commented on June 2, 2024

Is there a way to make it remember the last window size at all?

from goneovim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.