Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[vim] How to refresh vim automatically or prevent junk chars to appear ?

30 views
Skip to first unread message

Asim Suter

unread,
Dec 1, 2009, 7:53:29 PM12/1/09
to

Hi,

I am using vim 6.3 on Linux on PuTTy shell.

I notice that every so often some garbage characters appear on the screen,
for some reason I don't understand, which go away when I refresh the editor
( Control+L )

I notice that I am spendinng more time refreshing the editor than to do
actual work :-(

Is there any way to ask vim to do refresh automatically after every command
or after N number of seconds ?
Or better yet someway to prevent these unwanted characters to appear in the
first place..?

Thanks in advance!
vim user.


Eric Pozharski

unread,
Dec 2, 2009, 3:18:40 AM12/2/09
to
On 2009-12-02, Asim Suter <asu...@cisco.com> wrote:
*SKIP*

> Is there any way to ask vim to do refresh automatically after every command
> or after N number of seconds ?

:help autocommand

> Or better yet someway to prevent these unwanted characters to appear in the
> first place..?

Depends on garbage. My vote is that the terminal and 'vim' instance
disagree on environment settings.


--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

janooChen

unread,
Jan 16, 2010, 6:44:06 AM1/16/10
to
Asim Suter. I used to have the same problem on Windows XP. I think the problem is tat Vim cut some pixels from clear fonts and they appear in other places. To avoid this add the following lines:

set guifont=Monaco:h8:w5:cANS
set guifont=Monaco:h9:w6:cANS

So the fonts will get a "bit wider" and no pixel will be let behind.

---
frmsrcurl: http://compgroups.net/comp.editors/-vim-How-to-refresh-vim-automatically-or-prevent-junk-chars-to-appear

0 new messages