rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

No way to reset zoom #441

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It appears that one can zoom in (cmd++) and zoom out (cmd+-), but there is no 
way to reset the zoom back to what it was in the first place (cmd+0?). That'd 
be a nice feature to have, because I rarely remember exactly how things looked 
before, but even when I have it at a comfortable level I get the nagging 
feeling that something isn't right. :p

Original issue reported on code.google.com by Disciple...@gmail.com on 23 Apr 2013 at 7:01

GoogleCodeExporter commented 9 years ago
This would actually be very difficult to implement and the amount of code it 
would add would be hard to justify.  I suggest you learn how to set the font 
with ":set guifont=..." instead.

Tips: ":set gfn?" shows you the current font and size, ":set gfn=" resets to 
the default font and size.

Original comment by bjorn.winckler@gmail.com on 23 Apr 2013 at 7:37

GoogleCodeExporter commented 9 years ago
I don't need to change the font size. I need to be able to zoom in quickly for 
a coworker to look at my screen because he has eye problems that glasses can't 
fix. Setting guifont is a possibility, but that takes way too long.

I guess I'll just deal with it for now and write some stuff to do it myself 
when I get a chance.
Thanks anyways! :)

Original comment by Disciple...@gmail.com on 23 Apr 2013 at 7:39

GoogleCodeExporter commented 9 years ago
OK, how about this:

nmap <D-0> :set gfn=Menlo:h14<CR>

Now you can zoom in to show your coworker, then hit Cmd+0 and it will go back 
to Menlo size 14 (which you should of course change to the font and size of 
your preference).

Original comment by bjorn.winckler@gmail.com on 23 Apr 2013 at 7:58

GoogleCodeExporter commented 9 years ago
That's perfect! You rock!

Thanks for teaching me how to Vim. :p

Original comment by Disciple...@gmail.com on 23 Apr 2013 at 8:02

GoogleCodeExporter commented 9 years ago
No worries.  I'll close this issue then.

Original comment by bjorn.winckler@gmail.com on 24 Apr 2013 at 6:27