Loading ...
Sorry, an error occurred while loading the content.
 

Re: suppress output from shell command

Expand Messages
  • Ben Schmidt
    ... LOL. Yeah. That would be a simpler solution. I feel a bit of a twit now! I still think the other behaviour might have caught a bug, though. Grins, Ben.
    Message 1 of 10 , Jun 30, 2008
      Jürgen Krämer wrote:
      >
      > Hi,
      >
      > bill lam wrote:
      >> I wanted to run some shell commands but completely ignore their output, eg,
      >> while editing a pageful of text and execute this command
      >>
      >> :silent! !ls
      >>
      >> This is ok in gvim. However in vim, it clears the whole text buffer and must
      >> :redraw! to redisplay text. Any idea how to fix it?
      >
      > :call system('ls')
      >
      > Regards,
      > Jürgen

      LOL. Yeah. That would be a simpler solution. I feel a bit of a twit now!

      I still think the other behaviour might have caught a bug, though.

      Grins,

      Ben.



      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.