Re: How to change font on the fly?

2010-02-26 Thread Dotan Cohen
> This was the thread I had started: > http://groups.google.com/group/vim_use/browse_thread/thread/ef7bc332e9599bf0/29053fefdd545991?lnk=gst&q=font+firefox+dfishburn#29053fefdd545991 > > > This was the tip I created: > http://vim.wikia.com/wiki/Increase/decrease_fontsize_using_a_map_ala_firefox > >

Re: How to change font on the fly?

2010-02-23 Thread David Fishburn
On Sat, Feb 20, 2010 at 3:27 PM, Dotan Cohen wrote: > On 20 February 2010 14:54, David Fishburn wrote: >>> One thing that is really holding me up is font sizes, as discussed >>> earlier. I suspect that I could put a line in the config file which >>> increases font size with "Ctrl =" and decreases

Re: How to change font on the fly?

2010-02-21 Thread Dotan Cohen
> In both case you cannot change font inside vim, since the environment of vim > is now screen and you cannot change the font in screen. > Really, because of screen? Thanks, I did not know that. > You can always change font directly in konsole or putty menu though. > Yes. -- Dotan Cohen http

Re: How to change font on the fly?

2010-02-21 Thread pansz
Dotan Cohen 写道: If you're using konsole then your current editor is konsole, not vim. So you should tell konsole how to change the font. When you run vim inside konsole, it is possible to change font size of konsole by some konsole-specific escape-codes which can be sent inside vim script, you c

Re: How to change font on the fly?

2010-02-21 Thread Dotan Cohen
> If you're using konsole then your current editor is konsole, not vim. So you > should tell konsole how to change the font. > > When you run vim inside konsole, it is possible to change font size of > konsole by some konsole-specific escape-codes which can be sent inside vim > script, you can chec

Re: How to change font on the fly?

2010-02-20 Thread pansz
Dotan Cohen 写道: Depending on what I am editing, I sometimes prefer a fixed-width font and other times a proportional font. My previous editor, Kate (KDE Advanced Text Editor) lets the user change the font on the fly. Can VIM do this, or is playing with the config file (thus requiring a restart) t

Re: How to change font on the fly?

2010-02-20 Thread Dotan Cohen
On 20 February 2010 14:54, David Fishburn wrote: >> One thing that is really holding me up is font sizes, as discussed >> earlier. I suspect that I could put a line in the config file which >> increases font size with "Ctrl =" and decreases with "Ctrl -", however >> I cannot figure out what that l

Re: How to change font on the fly?

2010-02-20 Thread David Fishburn
One thing that is really holding me up is font sizes, as discussed earlier. I suspect that I could put a line in the config file which increases font size with "Ctrl =" and decreases with "Ctrl -", however I cannot figure out what that line should be. Last question for today, I promise! I create

Re: How to change font on the fly?

2010-02-20 Thread Tony Mechelynck
On 19/02/10 14:49, Dotan Cohen wrote: On 19 February 2010 15:05, Christian Brabandt wrote: It gave no error, but the font size did not change. Where in the vast Is that gvim? What does :echo&guifont return? No, it was in Konsole. In GVIM things work better. [...] In a terminal, Vim h

RE: How to change font on the fly?

2010-02-19 Thread John Beckett
Dotan Cohen wrote: > One thing that is really holding me up is font sizes, as > discussed earlier. I suspect that I could put a line in the > config file which increases font size with "Ctrl =" and > decreases with "Ctrl -", however I cannot figure out what > that line should be. Last question for

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
> I suggest that you select a font from the dialog (set guifont=*) and > then check font's name with > >    set guifont > > command. You should see something like this in the bottom of the Vim > window: > >    guifont=Tahoma 9 > > If you want to set that font from the Vim command line or put it in

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
On 19 February 2010 15:05, Christian Brabandt wrote: >> It gave  no error, but the font size did not change. Where in the vast > > Is that gvim? What does > :echo &guifont > return? > No, it was in Konsole. In GVIM things work better. >> fine manual should I start looking for how to perform thi

Re: How to change font on the fly?

2010-02-19 Thread Teemu Likonen
* 2010-02-19 14:43 (+0200), Dotan Cohen wrote: >> Unfortunately proportional fonts don't work that well in Vim but at >> least changing font interactively is easy: >> >>    set guifont=* >> >> You can set a certain font by using font name instead of "*". > Thanks. When I use names that I suspect

Re: How to change font on the fly?

2010-02-19 Thread Christian Brabandt
Hi Dotan! On Fr, 19 Feb 2010, Dotan Cohen wrote: > It gave no error, but the font size did not change. Where in the vast Is that gvim? What does :echo &guifont return? > fine manual should I start looking for how to perform this necessary > task in Linux? See :h 'guifont' and :h setting-gui

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
On 19 February 2010 13:16, Christian Brabandt wrote: > Hi Teemu! > > On Fr, 19 Feb 2010, Teemu Likonen wrote: > >> * 2010-02-19 11:04 (+0200), Dotan Cohen wrote: >> >> > Depending on what I am editing, I sometimes prefer a fixed-width font >> > and other tiems a proportional font. My previous edit

Re: How to change font on the fly?

2010-02-19 Thread Dotan Cohen
> Unfortunately proportional fonts don't work that well in Vim but at > least changing font interactively is easy: > >    set guifont=* > > You can set a certain font by using font name instead of "*". > Thanks. When I use names that I suspect (such as Tahoma, which is an installed font) nothing h

Re: How to change font on the fly?

2010-02-19 Thread Christian Brabandt
Hi Teemu! On Fr, 19 Feb 2010, Teemu Likonen wrote: > * 2010-02-19 11:04 (+0200), Dotan Cohen wrote: > > > Depending on what I am editing, I sometimes prefer a fixed-width font > > and other tiems a proportional font. My previous editor, Kate (KDE > > Advanced Text Editor) lets the user change th

Re: How to change font on the fly?

2010-02-19 Thread Teemu Likonen
* 2010-02-19 11:04 (+0200), Dotan Cohen wrote: > Depending on what I am editing, I sometimes prefer a fixed-width font > and other tiems a proportional font. My previous editor, Kate (KDE > Advanced Text Editor) lets the user change the font on the fly. Can > VIM do this, or is playing with the co

How to change font on the fly?

2010-02-19 Thread Dotan Cohen
Depending on what I am editing, I sometimes prefer a fixed-width font and other tiems a proportional font. My previous editor, Kate (KDE Advanced Text Editor) lets the user change the font on the fly. Can VIM do this, or is playing with the config file (thus requiring a restart) the only way? Than