Re: No-echo for shell command from vim.

2006-06-22 Thread Gerald Lai
On Thu, 22 Jun 2006, Ajay Gupta wrote: (Re-sending because it didnt appear the first time) Hello all. I have included the following function in my .vimrc: function! CScope_Refresh() set nocsverb cs kill 0 Following find searches for .c and .h files

Re: No-echo for shell command from vim.

2006-06-22 Thread Ajay Gupta
Thanks Gerald. It worked. However, after the command returns the complete screen gets erased. It gets repainted either using Ctrl+L or pgUp+pgDown several times. Can I automate this? thanks and regards Ajay On 6/22/06, Gerald Lai [EMAIL PROTECTED] wrote: On Thu, 22 Jun 2006, Ajay Gupta wrote:

Re: No-echo for shell command from vim.

2006-06-22 Thread Yakov Lerner
On 6/22/06, Ajay Gupta [EMAIL PROTECTED] wrote: Thanks Gerald. It worked. However, after the command returns the complete screen gets erased. It gets repainted either using Ctrl+L or pgUp+pgDown several times. Can I automate this? You need to add :redraw after the 'silent !cmd'. The need for

Re: No-echo for shell command from vim.

2006-06-22 Thread Ajay Gupta
But it does not what its supposed to do! Even after putting 'redraw' after shell command, the screen is not redrawn. Does it have something to do with the type of term I am using? thanks and regards Ajay On 6/22/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 6/22/06, Ajay Gupta [EMAIL

Re: No-echo for shell command from vim.

2006-06-22 Thread Yakov Lerner
On 6/22/06, Ajay Gupta [EMAIL PROTECTED] wrote: But it does not what its supposed to do! Even after putting 'redraw' after shell command, the screen is not redrawn. try 'set nolazyredraw' + :redraw Does it have something to do with the type of term I am using? no, unlikely Yakov