Set gfn based on screen resolution

2011-10-01 Thread philipx
Is there a way to determine the screen resolution in gVim and act upon that information, for example to set a different font size? I seem to find myself working in two different modes: either on my laptop or on a large screen. Maybe I'm getting old, or maybe the distance to the screen is

Re: Set gfn based on screen resolution

2011-10-01 Thread Tony Mechelynck
On 01/10/11 10:15, philipx wrote: Is there a way to determine the screen resolution in gVim and act upon that information, for example to set a different font size? I seem to find myself working in two different modes: either on my laptop or on a large screen. Maybe I'm getting old, or maybe

Re: Set gfn based on screen resolution

2011-10-01 Thread Dennis Benzinger
Hi! Am 01.10.2011 10:15, schrieb philipx: Is there a way to determine the screen resolution in gVim and act upon that information, for example to set a different font size? [...] You could use system() to execute a program to query the resolution. For example xdpyinfo or xwininfo -root if you

Netrw ErrorMsg is undefined

2011-10-01 Thread François Ingelrest
Hi all, After updating my netrw plugin (v143), I now get this error the first time I do :Explore in a Vim session: Error detected while processing /home/ingelres/.vim/autoload/netrw.vim: line 164: E117: Unknown function: netrw#ErrorMsg This did not happen with v141d, but I think this happened

Re: Netrw ErrorMsg is undefined

2011-10-01 Thread François Ingelrest
On Sat, Oct 1, 2011 at 17:43, Charles E Campbell Jr wrote: The latest version of netrw is v143, and netrw#ErrorMsg is at line#8056 in autoload/netrw.vim.  I can't duplicate the problem; so please look into  :help netrw-debug  for a way to proceed. After a bit of debugging, I found that this is

Re: replace e flag works in command but fails if that command in key mapping

2011-10-01 Thread porphyry5
Using vim 7.2 on slackware 13.1 OK, I've traced the problem with the error flag not being suppressed. It is caused because vim is still using an old version of .vimrc, not the current version, i.e. it is using a version preceding my addition of the e flag to those replace commands. It does so

Vim 7.2 on CentOS 6 - set ruler has no effect

2011-10-01 Thread Ismail, Mohd F.
Hi, I'm using CentOS 6, with vim 7.2. For whatever reason, there is no row and column info at the bottom right corner. I check the /etc/vimrc and set ruler is enabled. What could be the problem? --Farid -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: Vim 7.2 on CentOS 6 - set ruler has no effect

2011-10-01 Thread Tony Mechelynck
On 02/10/11 02:09, Ismail, Mohd F. wrote: Hi, I'm using CentOS 6, with vim 7.2. For whatever reason, there is no row and column info at the bottom right corner. I check the /etc/vimrc and set ruler is enabled. What could be the problem? --Farid What does Vim answer to :echo