Vpslit - open on the right side of session instead of left?Using registers in different terminalsIf I split the screen and open a Netrw dir listing in one window, Vim won't let me focus that windowIs it possible to open a tab in a window and not a window in a tab?quickfix window and location list open at the same time causes weird resizeMaximizing gVim on Windows 10 while also restoring all open files / tabsHow to close splits automatically when changing file or closing VIM?

How to limit Drive Letters Windows assigns to new removable USB drives

How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?

Why must Chinese maps be obfuscated?

What does ゆーか mean?

Apply MapThread to all but one variable

Function pointer with named arguments?

What happens to Mjolnir (Thor's hammer) at the end of Endgame?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

How much cash can I safely carry into the USA and avoid civil forfeiture?

"The cow" OR "a cow" OR "cows" in this context

bldc motor, esc and battery draw, nominal vs peak

What are the characteristics of a typeless programming language?

Re-entry to Germany after vacation using blue card

Providing evidence of Consent of Parents for Marriage by minor in England in early 1800s?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

What's the polite way to say "I need to urinate"?

Minor Revision with suggestion of an alternative proof by reviewer

Can we say “you can pay when the order gets ready”?

How to denote matrix elements succinctly?

a sore throat vs a strep throat vs strep throat

Aliens crash on Earth and go into stasis to wait for technology to fix their ship

How exactly does Hawking radiation decrease the mass of black holes?

Is the claim "Employers won't employ people with no 'social media presence'" realistic?

Does tea made with boiling water cool faster than tea made with boiled (but still hot) water?



Vpslit - open on the right side of session instead of left?


Using registers in different terminalsIf I split the screen and open a Netrw dir listing in one window, Vim won't let me focus that windowIs it possible to open a tab in a window and not a window in a tab?quickfix window and location list open at the same time causes weird resizeMaximizing gVim on Windows 10 while also restoring all open files / tabsHow to close splits automatically when changing file or closing VIM?













1















With Vsplit, I always wish the new file would open on the last half of the vim session instead of the first. I can manually do c-w and c-r to switch them but I would rather have this automatic when I run vsplit foo.js.



Any ideas how to make this automatic where the file opens on the right side of the screen?










share|improve this question


























    1















    With Vsplit, I always wish the new file would open on the last half of the vim session instead of the first. I can manually do c-w and c-r to switch them but I would rather have this automatic when I run vsplit foo.js.



    Any ideas how to make this automatic where the file opens on the right side of the screen?










    share|improve this question
























      1












      1








      1








      With Vsplit, I always wish the new file would open on the last half of the vim session instead of the first. I can manually do c-w and c-r to switch them but I would rather have this automatic when I run vsplit foo.js.



      Any ideas how to make this automatic where the file opens on the right side of the screen?










      share|improve this question














      With Vsplit, I always wish the new file would open on the last half of the vim session instead of the first. I can manually do c-w and c-r to switch them but I would rather have this automatic when I run vsplit foo.js.



      Any ideas how to make this automatic where the file opens on the right side of the screen?







      window-management






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 22 at 13:58









      dmandman

      1155




      1155




















          1 Answer
          1






          active

          oldest

          votes


















          3














          Put the following in your vimrc:



          set splitright


          Read :h splitright for more information.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "599"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2fvi.stackexchange.com%2fquestions%2f19692%2fvpslit-open-on-the-right-side-of-session-instead-of-left%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









            3














            Put the following in your vimrc:



            set splitright


            Read :h splitright for more information.






            share|improve this answer



























              3














              Put the following in your vimrc:



              set splitright


              Read :h splitright for more information.






              share|improve this answer

























                3












                3








                3







                Put the following in your vimrc:



                set splitright


                Read :h splitright for more information.






                share|improve this answer













                Put the following in your vimrc:



                set splitright


                Read :h splitright for more information.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 22 at 14:04









                klausklaus

                1,581220




                1,581220



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Vi and Vim Stack Exchange!


                    • 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%2fvi.stackexchange.com%2fquestions%2f19692%2fvpslit-open-on-the-right-side-of-session-instead-of-left%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

                    Sum ergo cogito? 1 nng

                    三茅街道4182Guuntc Dn precexpngmageondP