Vpslit - open on the right side of session instead of left? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?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?

Is "ein Herz wie das meine" an antiquated or colloquial use of the possesive pronoun?

reduction from 3-SAT to Subset Sum problem

tabularx column has extra padding at right?

Why is ArcGIS Pro not symbolizing my entire range of values?

Assertions In A Mock Callout Test

Why did Europeans not widely domesticate foxes?

Determine the generator of an ideal of ring of integers

Can gravitational waves pass through a black hole?

Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?

Does using the inspiration rules for character defects tend to encourage players to display MGS?

Pointing to problems without suggesting solutions

How can I introduce the names of fantasy creatures to the reader?

“Since the train was delayed for more than an hour, passengers were given a full refund.” – Why is there no article before “passengers”?

Why did Israel vote against lifting the American embargo on Cuba?

IC on Digikey is 5x more expensive than board containing same IC on Alibaba: How?

Can I ask an author to send me his ebook?

Why "Go Out and Learn"

Why does my GNOME settings mention "Moto C Plus"?

Would I be safe to drive a 23 year old truck for 7 hours / 450 miles?

Why isn't everyone flabbergasted about Bran's "gift"?

Why does BitLocker not use RSA?

Can Deduction Guide have an explicit(bool) specifier?

What is the ongoing value of the Kanban board to the developers as opposed to management

Should man-made satellites feature an intelligent inverted "cow catcher"?



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



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?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 8 hours ago









      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 8 hours ago









                klausklaus

                1,547220




                1,547220



























                    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

                    Siegen Nawigatsjuun

                    Log på Navigationsmenu

                    Log på Navigationsmenu