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

13650'monitor' buffer to display command result

Expand Messages
  • Peiman Khosravi
    May 6, 2013
      Dear all,

      I have found the script on this page useful for running terminal commands in a new buffer: http://vim.wikia.com/wiki/Display_output_of_shell_commands_in_new_window. This script below opens a scratch buffer with the result of a terminal command. This is one step closer to what I am after, but not quite there yet.

      I would like to be able to perform a command on the content of the current buffer (%p). Now, I would like the result to be printed in a named buffer (automatically created in a different window/tab, or refreshed if it already exists), but without changing the focus from the current buffer. So effectively, I have a 'monitor' buffer working in the background. Something like this video: http://www.youtube.com/watch?v=wNWFSIadAH8

      Is this possible?

      Many Thanks indeed and sorry for the newbie question.


      You received this message from the "vim_mac" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      You received this message because you are subscribed to the Google Groups "vim_mac" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.