vim loads with a tiny window screen by default in a 4k monitor.
To fix,
To fix,
- Pick a font with right size using Edit --> Select Font you like so the window looks nice.
- Once the window looks good, use below to find the current font settings
- Press Shift and :
- Type in set gfn? and hit Enter
- You should see the current font setting. For example, I got guifont=Consolas:h10:cANSI:qDRAFT
- Press Shift and :
- Type in e $MYVIMRC and hit Enter
- You will now be eiditing your _vimrc file. In windows you can find this file in "C:\Program Files (x86)\Vim" assuming default vim installation options
- Note: You may not have permission to write this file. If this is the case, please launch with Admin privileges or open the file in your favorite text editor with Admin privileges
- Enter Line from (5) as the first line of the file after adding set to the front. Example set guifont=Consolas:h10:cANSI:qDRAFT
- Note: if there are spaces, make sure to add a slash \ just before it.
- Save the file and restart it
My _vimrc after update below
No comments:
Post a Comment