Re: how to zoom in characters in vim-windows forever?

2024-11-14 Thread pansz
you need a .gvimrc  (or _gvimrc in Windows platform), set the guifont
option in gvimrc and you got what you want.

On Tue, Nov 12, 2024 at 6:14 PM wang xu  wrote:

>   I am used to working in debain, and i know how to configure .vimrc to
> control vim. But now i am working in windows and using vim-windows, which
> get installed by following links:
> https://github.com/vim/vim-win32-installer/releases/tag/v9.1.0514.
>   Every time i open files by vim , i feel that characters are so small ,
> so i have to fix it by hands in top menu. So i really want to know some way
> to configure vim like it in debian that i can use it  automatically.
>   Thanks a lot.
>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/vim_use/1703a500-0765-430f-94e0-2a93519dff06n%40googlegroups.com
> 
> .
>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/CABRcWe9ykgsibXOCmepCnQcvhPjCeSi4zOo8uXnMz7u%3D7WcOqQ%40mail.gmail.com.


Re: how to zoom in characters in vim-windows forever?

2024-11-14 Thread Boyko Bantchev
For gvim, I use something as simple as

if has('unix')
  set guifont=UbuntuMono\ 11
elseif has('win32') || has('win64')
  set guifont=consolas:h10
endif

For Vim as a terminal editor, one has to select the font name and size
in the terminal (console). Vim itself has nothing to do with that.


On Tue, 12 Nov 2024 at 12:13, wang xu  wrote:
>
>   I am used to working in debain, and i know how to configure .vimrc to 
> control vim. But now i am working in windows and using vim-windows, which get 
> installed by following links: 
> https://github.com/vim/vim-win32-installer/releases/tag/v9.1.0514.
>   Every time i open files by vim , i feel that characters are so small , so i 
> have to fix it by hands in top menu. So i really want to know some way to 
> configure vim like it in debian that i can use it  automatically.
>   Thanks a lot.
>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to vim_use+unsubscr...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/vim_use/1703a500-0765-430f-94e0-2a93519dff06n%40googlegroups.com.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/CALdOZqkJe%2Bcrfmv%3DEyj%3DJRhz-purc_0WSjMi2SEzmGdrdZmpew%40mail.gmail.com.


Re: how to zoom in characters in vim-windows forever?

2024-11-12 Thread Tony Mechelynck
On Tue, Nov 12, 2024 at 11:13 AM wang xu  wrote:
>
>   I am used to working in debain, and i know how to configure .vimrc to 
> control vim. But now i am working in windows and using vim-windows, which get 
> installed by following links: 
> https://github.com/vim/vim-win32-installer/releases/tag/v9.1.0514.
>   Every time i open files by vim , i feel that characters are so small , so i 
> have to fix it by hands in top menu. So i really want to know some way to 
> configure vim like it in debian that i can use it  automatically.
>   Thanks a lot.

In gvim, the size of the font is part of the 'guifont' setting, but
the value to set it to differs from one OS to the next. Happily, gvim
can determine which OS it is running in.

• For a short example of a code snippet which can be put in your
vimrc, see :help setting-guifont
• For a detailed explanation and a code snippet covering all OSes I
could find about, see
https://vim.fandom.com/wiki/Setting_the_font_in_the_GUI
• In both cases, the size of the font for Windows is the number after
:h in the value "for Windows". Increasing or decreasing that number
will make the font bigger or smaller respectively. You may, of course,
adjust to fit your taste whichever of the above-mentioned snippets you
decide to insert in your vimrc.

If, rather than gvim, you are using Vim in a console, then the console
(sometimes called the "DOS box" in Windows) determines the font to be
used and Vim has no power over it.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/CAJkCKXv7006gDhrdAbfYZ1O%2BBh9WK21Gph7zc7U6qrHk2CLdyA%40mail.gmail.com.


how to zoom in characters in vim-windows forever?

2024-11-12 Thread wang xu
  I am used to working in debain, and i know how to configure .vimrc to 
control vim. But now i am working in windows and using vim-windows, which 
get installed by following links: 
https://github.com/vim/vim-win32-installer/releases/tag/v9.1.0514. 

  Every time i open files by vim , i feel that characters are so small , so 
i have to fix it by hands in top menu. So i really want to know some way to 
configure vim like it in debian that i can use it  automatically. 
  Thanks a lot.


-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/1703a500-0765-430f-94e0-2a93519dff06n%40googlegroups.com.