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:
- Do not want to switch back the current window
- Not every time creating a new buffer ("Output" buffer I have to reuse)
- I do not want to be able to see the output directly in a register.
will flow:
- Open Vim session session ...
- Edit a file
- One Perform simple make-typing commands
- 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
Post a Comment