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?

Import keychain to clean macOS install?

Unix AIX passing variable and arguments to expect and spawn

Can a Knight grant Knighthood to another?

Etymology of 見舞い

Is my guitar’s action too high?

Why not use the yoke to control yaw, as well as pitch and roll?

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

What is the definining line between a helicopter and a drone a person can ride in?

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

How do I deal with an erroneously large refund?

Trying to enter the Fox's den

Is it OK if I do not take the receipt in Germany?

How to get a single big right brace?

Compiling and throwing simple dynamic exceptions at runtime for JVM

"Destructive force" carried by a B-52?

How to ask rejected full-time candidates to apply to teach individual courses?

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

Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?

Can Deduction Guide have an explicit(bool) specifier?

When does Bran Stark remember Jamie pushing him?

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

Can gravitational waves pass through a black hole?

Why these surprising proportionalities of integrals involving odd zeta values?

How to create a command for the "strange m" symbol in latex?



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

                    How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

                    Category:Tremithousa Media in category "Tremithousa"Navigation menuUpload media34° 49′ 02.7″ N, 32° 26′ 37.32″ EOpenStreetMapGoogle EarthProximityramaReasonatorScholiaStatisticsWikiShootMe

                    Dokschytsy (Steed) Kwelen | NawigatsjuunBelarus: Vitebsk Region, citypopulation.de