How to keep a command output window in vim -


What I see is a separate window compared to an existing window which puts the output of the command in the same buffer . So I can execute:

 : php%   

and view the output in a lower partition window. This is usually seen in most of the graphical editors I used.

Note:

  1. Do not want to switch back the current window
  2. Not every time creating a new buffer ("Output" buffer I have to reuse)
  3. I do not want to be able to see the output directly in a register.

    will flow:

    1. Open Vim session session ...
    2. Edit a file
    3. One Perform simple make-typing commands
    4. See command output in the output window

      without having hundreds of new buffers and switching between windows.

      Do I have tried so far ... that is not satisfactory ... sending output to file, turning on Autorud, opening buffer on that file, it works but I have to start autodetection for all files. Do you have a bit of trouble ... Is there a way to turn on Autodune for a buffer / file?

      Thank you for your help.

      It seems that you are looking for a window of the VIM. I use it, and, like this:

       : set makeprg = php \%: make: copen   

      Additionally, You can use the option to distribute the cursor in the first line with errors.

       : set errorformat =% m \ in \% f \ on \ line \% l   

      For more speed, I have F5 is mapped created :

       : nnoremap    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -