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

[Feature] Is there an full screen options? #31

Closed
qvieth opened this issue Aug 5, 2021 · 4 comments
Closed

[Feature] Is there an full screen options? #31

qvieth opened this issue Aug 5, 2021 · 4 comments

Comments

@qvieth
Copy link
Contributor

qvieth commented Aug 5, 2021

Full screen or change window size feature would be really helpful, but it seems like there isn't one, btw thank you for making this plugin!!

@ellisonleao
Copy link
Owner

no, but we can have configs for window size, let me think about it

@qvieth
Copy link
Contributor Author

qvieth commented Aug 14, 2021

@ellisonleao, I almost forgot there's a native solution for this:

  • Ctrl-w + | set window's width max
  • Ctrl-w + _ set window's height max
  • :h window-resize for more information.

Map z for window's size zoom :

  • vim.api.nvim_set_keymap("n", "<C-w>z", "<C-w>|<C-w>_", { noremap = true, silent = true})

This works perfectly for my use case, you can close this issue if wanted. (I suggest putting this information on README so that other users can have a better experience - I have opened a pull request for this)

@ellisonleao
Copy link
Owner

cool, i will be thinking more on this later, but good suggestion!

@InfinytRam
Copy link

@ellisonleao, I almost forgot there's a native solution for this:

  • Ctrl-w + | set window's width max
  • Ctrl-w + _ set window's height max
  • :h window-resize for more information.

Map z for window's size zoom :

  • vim.api.nvim_set_keymap("n", "<C-w>z", "<C-w>|<C-w>_", { noremap = true, silent = true})

This works perfectly for my use case, you can close this issue if wanted. (I suggest putting this information on README so that other users can have a better experience - I have opened a pull request for this)

Thanks @qvieth, this worked, except on mac the "w" must be capital W.

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

3 participants