Can I open a split build window in gvim 8.1 that shows the build output live while I can continue looking at...












0














I like using gvim but I think its kind of time consuming to have to always watch the build process complete until I can continue editing.

I'd like to just hit a key and have a bottom split open up where I can see the code being compiled as well as the errors once its done, that automaticly scrolls to the bottom of the output.

I know theres vim dispatch, which does pretty much exactly what I want, but it seams to only work with vim and tmux and not with gvim.

Now is there anyway to emulate the same behaviour with gvim?

So I can just see the build ouput without interrupting my work?










share|improve this question



























    0














    I like using gvim but I think its kind of time consuming to have to always watch the build process complete until I can continue editing.

    I'd like to just hit a key and have a bottom split open up where I can see the code being compiled as well as the errors once its done, that automaticly scrolls to the bottom of the output.

    I know theres vim dispatch, which does pretty much exactly what I want, but it seams to only work with vim and tmux and not with gvim.

    Now is there anyway to emulate the same behaviour with gvim?

    So I can just see the build ouput without interrupting my work?










    share|improve this question

























      0












      0








      0







      I like using gvim but I think its kind of time consuming to have to always watch the build process complete until I can continue editing.

      I'd like to just hit a key and have a bottom split open up where I can see the code being compiled as well as the errors once its done, that automaticly scrolls to the bottom of the output.

      I know theres vim dispatch, which does pretty much exactly what I want, but it seams to only work with vim and tmux and not with gvim.

      Now is there anyway to emulate the same behaviour with gvim?

      So I can just see the build ouput without interrupting my work?










      share|improve this question













      I like using gvim but I think its kind of time consuming to have to always watch the build process complete until I can continue editing.

      I'd like to just hit a key and have a bottom split open up where I can see the code being compiled as well as the errors once its done, that automaticly scrolls to the bottom of the output.

      I know theres vim dispatch, which does pretty much exactly what I want, but it seams to only work with vim and tmux and not with gvim.

      Now is there anyway to emulate the same behaviour with gvim?

      So I can just see the build ouput without interrupting my work?







      vim gvim vim-plugins






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 9 '18 at 9:02









      user2741831

      1124




      1124






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Which version is your gvim? The latest
          Vim/gVim 8.1
          supports split windows:



          enter image description here



          Otherwise, you could use a workaround like this:



          :!gvim -c 'MyMake'


          You could also see whether dispatch.vim
          is helpful (video Trailer):




          Leverage the power of Vim's compiler plugins without being bound by synchronicity. Kick off builds and test suites using one of several asynchronous adapters (including tmux, screen, iTerm, Windows, and a headless mode), and when the job completes, errors will be loaded and parsed automatically.







          share|improve this answer





















          • I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
            – user2741831
            Dec 9 '18 at 11:42










          • Do you mean that your gvim doesn't support splits?
            – harrymc
            Dec 9 '18 at 12:36










          • Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
            – user2741831
            Dec 9 '18 at 13:40










          • I meant if your version doesn't support them then you should upgrade.
            – harrymc
            Dec 9 '18 at 15:42










          • It supports splits, every vim version since 2006 supports splits
            – user2741831
            Dec 9 '18 at 16:06











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382041%2fcan-i-open-a-split-build-window-in-gvim-8-1-that-shows-the-build-output-live-whi%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Which version is your gvim? The latest
          Vim/gVim 8.1
          supports split windows:



          enter image description here



          Otherwise, you could use a workaround like this:



          :!gvim -c 'MyMake'


          You could also see whether dispatch.vim
          is helpful (video Trailer):




          Leverage the power of Vim's compiler plugins without being bound by synchronicity. Kick off builds and test suites using one of several asynchronous adapters (including tmux, screen, iTerm, Windows, and a headless mode), and when the job completes, errors will be loaded and parsed automatically.







          share|improve this answer





















          • I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
            – user2741831
            Dec 9 '18 at 11:42










          • Do you mean that your gvim doesn't support splits?
            – harrymc
            Dec 9 '18 at 12:36










          • Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
            – user2741831
            Dec 9 '18 at 13:40










          • I meant if your version doesn't support them then you should upgrade.
            – harrymc
            Dec 9 '18 at 15:42










          • It supports splits, every vim version since 2006 supports splits
            – user2741831
            Dec 9 '18 at 16:06
















          0














          Which version is your gvim? The latest
          Vim/gVim 8.1
          supports split windows:



          enter image description here



          Otherwise, you could use a workaround like this:



          :!gvim -c 'MyMake'


          You could also see whether dispatch.vim
          is helpful (video Trailer):




          Leverage the power of Vim's compiler plugins without being bound by synchronicity. Kick off builds and test suites using one of several asynchronous adapters (including tmux, screen, iTerm, Windows, and a headless mode), and when the job completes, errors will be loaded and parsed automatically.







          share|improve this answer





















          • I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
            – user2741831
            Dec 9 '18 at 11:42










          • Do you mean that your gvim doesn't support splits?
            – harrymc
            Dec 9 '18 at 12:36










          • Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
            – user2741831
            Dec 9 '18 at 13:40










          • I meant if your version doesn't support them then you should upgrade.
            – harrymc
            Dec 9 '18 at 15:42










          • It supports splits, every vim version since 2006 supports splits
            – user2741831
            Dec 9 '18 at 16:06














          0












          0








          0






          Which version is your gvim? The latest
          Vim/gVim 8.1
          supports split windows:



          enter image description here



          Otherwise, you could use a workaround like this:



          :!gvim -c 'MyMake'


          You could also see whether dispatch.vim
          is helpful (video Trailer):




          Leverage the power of Vim's compiler plugins without being bound by synchronicity. Kick off builds and test suites using one of several asynchronous adapters (including tmux, screen, iTerm, Windows, and a headless mode), and when the job completes, errors will be loaded and parsed automatically.







          share|improve this answer












          Which version is your gvim? The latest
          Vim/gVim 8.1
          supports split windows:



          enter image description here



          Otherwise, you could use a workaround like this:



          :!gvim -c 'MyMake'


          You could also see whether dispatch.vim
          is helpful (video Trailer):




          Leverage the power of Vim's compiler plugins without being bound by synchronicity. Kick off builds and test suites using one of several asynchronous adapters (including tmux, screen, iTerm, Windows, and a headless mode), and when the job completes, errors will be loaded and parsed automatically.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 9 '18 at 10:04









          harrymc

          253k12261563




          253k12261563












          • I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
            – user2741831
            Dec 9 '18 at 11:42










          • Do you mean that your gvim doesn't support splits?
            – harrymc
            Dec 9 '18 at 12:36










          • Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
            – user2741831
            Dec 9 '18 at 13:40










          • I meant if your version doesn't support them then you should upgrade.
            – harrymc
            Dec 9 '18 at 15:42










          • It supports splits, every vim version since 2006 supports splits
            – user2741831
            Dec 9 '18 at 16:06


















          • I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
            – user2741831
            Dec 9 '18 at 11:42










          • Do you mean that your gvim doesn't support splits?
            – harrymc
            Dec 9 '18 at 12:36










          • Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
            – user2741831
            Dec 9 '18 at 13:40










          • I meant if your version doesn't support them then you should upgrade.
            – harrymc
            Dec 9 '18 at 15:42










          • It supports splits, every vim version since 2006 supports splits
            – user2741831
            Dec 9 '18 at 16:06
















          I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
          – user2741831
          Dec 9 '18 at 11:42




          I use gvim 8.1 as it says in the title. And didnt vim always support splits? Also vim dispatch does nt seam to work with gvim.
          – user2741831
          Dec 9 '18 at 11:42












          Do you mean that your gvim doesn't support splits?
          – harrymc
          Dec 9 '18 at 12:36




          Do you mean that your gvim doesn't support splits?
          – harrymc
          Dec 9 '18 at 12:36












          Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
          – user2741831
          Dec 9 '18 at 13:40




          Yes it does, but vim-dispach doesn't work with those for some reason. But you meantioned that vsplits are a vim 8.1 exclusive feature
          – user2741831
          Dec 9 '18 at 13:40












          I meant if your version doesn't support them then you should upgrade.
          – harrymc
          Dec 9 '18 at 15:42




          I meant if your version doesn't support them then you should upgrade.
          – harrymc
          Dec 9 '18 at 15:42












          It supports splits, every vim version since 2006 supports splits
          – user2741831
          Dec 9 '18 at 16:06




          It supports splits, every vim version since 2006 supports splits
          – user2741831
          Dec 9 '18 at 16:06


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382041%2fcan-i-open-a-split-build-window-in-gvim-8-1-that-shows-the-build-output-live-whi%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Brian Clough

          Cáceres