How to increase the horizontal split window size in Vim [duplicate] - vim

This question already has answers here:
How to increase the vertical split window size in Vim
(10 answers)
Closed 7 years ago.
I have two open files in horizontal mode. How do I increase or decrease the height of either?
:30winc > and :30winc <
works for the width. But...
:30hinc > and :30hinc <
doesn't work for the height.

Use :30winc, but use + or - instead.

Related

Changing all font sizes in Tkinter/Python3 [duplicate]

This question already has answers here:
How to modify the default font in Tkinter?
(2 answers)
Closed 7 years ago.
I would like to change the font size globally in a Python3/Tkinter program. I've managed to do it in the buttons and labels in the main window, but I also have a messagebox in the program that only displays the default font size.
Im not certain but I believe you can use ttk to change global font size

vim on ultra-high display (3200-1800) on Windows 8 [duplicate]

This question already has answers here:
How do I set the default font size in Vim?
(8 answers)
Closed 8 years ago.
gvim for windows has tiny text and icons on my ultra-HD Dell laptop (3200-1800) . In fact, it is barely readable. How does one change gvim gui fonts and increases the icons to obtain readable text on a high resolution, windows 8 laptop?
you should configure you font size, one possible solution is is like this(you can put it in your vimrc):
set guifont=Consolas:h13
"Consolas" is the font name and "h13" is the font size, you should change 13 to a proper number~
(I'm not sure about Windows, but...)
It really depends. If you're using vim from a terminal emulator the settings must be changed in your terminal emulator (let's say PuTTy).
But if you're using GVIM, then use :set guifont font\ name\ size to specify the font size.
In order to check witch font and size you're using, simple call :set guifont and it will promt you with the current settings
In my case I use the following: :set guifont=Ubuntu\ Mono\ 18

clicking a svg line its hard to hit,any ideas how to put a click area around a line [duplicate]

This question already has answers here:
JavaScript and SVG: how do you increase the clickable area for an onClick event?
(2 answers)
Closed 8 years ago.
I have a SVG Drawing, I want to click the lines on it. That works fine, if you hit the sometimes realy thin guy.
Does anybody have an idea, how to make the line clicking easier - without just enlarging "stroke-width"?
I tried using two lines (one white thicker one black thin), but then the rendering order destroys parts of the drawing.
any idea?
Draw two lines, one the one you want to see and another thicker i.e. with a stroke-width but with visibility="hidden" and then treat clicks on the hidden line as clicks on the visible line. You may need to adjust the pointer-events property to disable it for the visible line (pointer-events="none") and enable it for the hidden line (pointer-events="all")
one simple trick (in addition to above) is, use an other cursor in css of this element, eg: 'pointer', so your cusomers get a chance to "feel" if they are "above" the line

Varying font size in gvim windows

Can I make the font size in my NERDTree window smaller than in all other windows of gvim?
Generally I need large font size of 15 but I'd like the folder tree window of NERDTree to be 12 - is this possible to set using code in _vimrc. Currently I have the following simple setting:
set guifont=Consolas:h16:cANSI
Slightly duplicated question and answered here:
Stackoverflow Post
Stackoverflow Post
Not possible bro. Vim uses the same font size for all its windows.
This is one (if not the only :D) limitation of Vim.

Vim Color Scheme Problems on Ubuntu 11.04 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
When I change my color scheme in command-line Vim on Ubuntu 11.04, stripes on the bottom and right of the terminal (xterm) refuse to change color. While I can select any color scheme that I like, the two bands of color will remain at the default set for my xterm profile. Here's a link to an image to illustrate what I describe; my best guess is that xterm is not playing well with fullscreen mode in Unity. Do you have any suggestions for things I should try in order to fix this?
Vim is applying its colors to individual character cells.
Your expanded xterm window's width and height are probably not divisible by the width and height of a single character cell.
With my own font settings, a cell is 7 px by 15 px.
My display is 1600px wide and 1200 px tall, a fullscreen xterm would cover the entire area but the available cells would only cover an area of 1594 px * 1200 px, leaving a tiny 4 px wide vertical band on the right and — luckily — fit the whole height.
I see one easy way to get rid of your "stripes": set the background color of xterm to the same color you use in your colorscheme or vice-versa.

Resources