Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
guifont + lines + colums
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Keyan  
View profile  
 More options Oct 5 2012, 10:59 am
From: Keyan <key....@googlemail.com>
Date: Fri, 5 Oct 2012 16:59:10 +0200
Local: Fri, Oct 5 2012 10:59 am
Subject: guifont + lines + colums
Hi,

I still have the problem that the following line

:set guifont=Menlo:h26 lines=30 columns=80

does change the font, but not the lines and columns.

Cheers,
Keyan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bee  
View profile  
 More options Oct 5 2012, 12:28 pm
From: Bee <fo...@calcentral.com>
Date: Fri, 5 Oct 2012 09:28:07 -0700 (PDT)
Local: Fri, Oct 5 2012 12:28 pm
Subject: Re: guifont + lines + colums

On Oct 5, 7:59 am, Keyan <key....@googlemail.com> wrote:

> Hi,

> I still have the problem that the following line

> :set guifont=Menlo:h26 lines=30 columns=80

> does change the font, but not the lines and columns.

> Cheers,
> Keyan

Do you have that line in .vimrc?
If yes, try it in .gvimrc

Works here with one exception, my laptop screen is
not large enough to display 80 columns at Menlo:h26

But this works great:

:set guifont=Menlo:h18 lines=30 columns=80

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keyan  
View profile  
 More options Oct 5 2012, 3:10 pm
From: Keyan <key....@googlemail.com>
Date: Fri, 5 Oct 2012 21:10:05 +0200
Local: Fri, Oct 5 2012 3:10 pm
Subject: Re: guifont + lines + colums
On 5 Oct 2012, at 18:28, Bee <fo...@calcentral.com> wrote:

Hi,

i had it in my .vimrc and in my .gvimrc. what i have send is from the command mode. the line you have posted does not work for me. i use

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  1 2012 01:05:49)
MacOS X (unix) version
Included patches: 1-604

(compiled from homebrew)

Cheers,
Keyan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bee  
View profile  
 More options Oct 5 2012, 3:28 pm
From: Bee <fo...@calcentral.com>
Date: Fri, 5 Oct 2012 12:27:59 -0700 (PDT)
Local: Fri, Oct 5 2012 3:27 pm
Subject: Re: guifont + lines + colums

Keyan wrote:
> i had it in my .vimrc and in my .gvimrc.
> what i have send is from the command mode.
> the line you have posted does not work for me. i use

> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  1 2012 01:05:49)
> MacOS X (unix) version
> Included patches: 1-604

Try this in .gvimrc, remove the reference to guifont

set lines=30 columns=80

Does that work?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keyan  
View profile  
 More options Oct 5 2012, 4:11 pm
From: Keyan <key....@googlemail.com>
Date: Fri, 5 Oct 2012 22:11:11 +0200
Local: Fri, Oct 5 2012 4:11 pm
Subject: Re: guifont + lines + colums

On 5 Oct 2012, at 21:27, Bee <fo...@calcentral.com> wrote:

> Keyan wrote:
>> i had it in my .vimrc and in my .gvimrc.
>> what i have send is from the command mode.
>> the line you have posted does not work for me. i use

>> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  1 2012 01:05:49)
>> MacOS X (unix) version
>> Included patches: 1-604

> Try this in .gvimrc, remove the reference to guifont

> set lines=30 columns=80

> Does that work?

removed set guifont from .gvimrc, and I have none in the .vimrc. added set lines=30 colums=80 in the last line of my .gvimrc and it did not work, because i have set fu. if i remove this option, it works. i like to use vim in full-screen mode by default, so that is why i forgot to add that important information. sorry for that.

the initial :set command that i posted works fine in non-fullscreen mode. i use the build-in fullscreen method, not the mac os version of fullscreen, because i like to see the output (e.g. latex) on the second screen.

cheers,
Keyan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bee  
View profile  
 More options Oct 5 2012, 4:36 pm
From: Bee <fo...@calcentral.com>
Date: Fri, 5 Oct 2012 13:36:48 -0700 (PDT)
Local: Fri, Oct 5 2012 4:36 pm
Subject: Re: guifont + lines + colums

:help fullscreen
...
Note: Setting 'fullscreen' usually changes the size of the Vim
control.  However, for technical reasons, 'lines' and 'columns'
will currently only be updated when Vim runs its event loop. As
a consequence, if you set 'fullscreen' and 'lines' or 'columns'
in a Vim script file, you should always set 'fullscreen' after
setting 'lines' and 'columns', else 'lines' and 'columns' will
be overwritten with the values 'fullscreen' sets after the
script has been executed and the event loop is ran again.

Also see:
:help fuoptions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bee  
View profile  
 More options Oct 5 2012, 5:04 pm
From: Bee <fo...@calcentral.com>
Date: Fri, 5 Oct 2012 14:04:18 -0700 (PDT)
Local: Fri, Oct 5 2012 5:04 pm
Subject: Re: guifont + lines + colums
PS
If I set fullscreen in a script is does not work.

In .gvimrc I set lines and columns
and set fuoptions to do not change size of vim
and this mapping to toggle fullscreen

" -------1---------2---------3---------4---------5---------6----
:set guifont=Menlo:h18 lines=30 columns=80

" Don't change size of Vim when entering fullscreen
:set fuoptions=

" Toggle fullscreen
:nmap <F12> :set fullscreen!<cr>

" -------1---------2---------3---------4---------5---------6----

:help fuoptions

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keyan  
View profile  
 More options Oct 6 2012, 5:56 am
From: Keyan <key....@googlemail.com>
Date: Sat, 6 Oct 2012 11:56:12 +0200
Local: Sat, Oct 6 2012 5:56 am
Subject: Re: guifont + lines + colums
Hi,

thanks a lot. The set fuoptions did the trick! :)

Cheers,
Keyan

On 5 Oct 2012, at 23:04, Bee <fo...@calcentral.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic