Re: slow vim
On Mon, 27 May 2013 11:53:47 +0000
låzaro <netadmin@lex-sa.cu> wrote:
> I'm using mutt with vim as default editor but it delayed so much before
> startup. Any idea?
Hi.
1) You have installed one of the following packages: vim-athena, vim-gnome,
vim-gtk. Yet you do not have X available.
On startup, vim tries to locate an X server, fails, tries again etc.
Solution: remove these packages, install one of 'vim' or 'vim-nox'.
2) You're using any of libvte9-based terminal emulator (gnome-terminal,
xfce4-terminal, lxterminal to name a few).
It seems that wheezy's libvte9 has some kind of performance regression, which
visibly affects speed of any ncurses-based programs.
Solution: use a real terminal emulator, such as 'xterm' or 'rxvt-unicode'.
3) Run:
strace -ttfo /tmp/mutt mutt
edit any mail, exit.
Strace's output (/tmp/mutt) with timings should give you some clues about a
cause of a problem.
Reco.
Reply to:
- References:
- slow vim
- From: låzaro <netadmin@lex-sa.cu>