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

gVim 8.1.1 full-screen #176

Open
antaed opened this issue Jun 23, 2018 · 2 comments
Open

gVim 8.1.1 full-screen #176

antaed opened this issue Jun 23, 2018 · 2 comments

Comments

@antaed
Copy link

antaed commented Jun 23, 2018

Since updating Vim to version 8.1.1, the window doesn't keep its full-screen state when switching sessions.

@vasilakisfil
Copy link

@antaed since this repo is not maintained any more, the fix I apply is a command after I open the session:

fun! s:redraw()
  set guiheadroom=0
  let cursize = substitute(&guifont, s:pattern, '\2', '')
  call SetFontSize(cursize)
endfun

command! -nargs=0 Fix call s:redraw()

just run :Fix and it will make it full screen again.

@antaed
Copy link
Author

antaed commented Dec 18, 2019

@vasilakisfil thanks a lot

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