iTerm2 - Split vertically with current profile with same working directory

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












When splitting vertically with current profile by using the keyboard shortcut, Command + D, is it possible for the new iTerm window opened to have the same current working directory as the current now.



By default, using this command opens the new window with home directory as the current directory.









share



























    up vote
    2
    down vote

    favorite












    When splitting vertically with current profile by using the keyboard shortcut, Command + D, is it possible for the new iTerm window opened to have the same current working directory as the current now.



    By default, using this command opens the new window with home directory as the current directory.









    share

























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      When splitting vertically with current profile by using the keyboard shortcut, Command + D, is it possible for the new iTerm window opened to have the same current working directory as the current now.



      By default, using this command opens the new window with home directory as the current directory.









      share















      When splitting vertically with current profile by using the keyboard shortcut, Command + D, is it possible for the new iTerm window opened to have the same current working directory as the current now.



      By default, using this command opens the new window with home directory as the current directory.







      iterm





      share














      share












      share



      share








      edited 1 hour ago









      Nimesh Neema

      8,72342051




      8,72342051










      asked 2 hours ago









      mrgloom

      1133




      1133




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Open iTerm2 preferences by using the keyboard shortcut, Command + , or by invoking the command iTerm2 → Preferences... in the Menu Bar.



          In the preferences window, switch to Profiles tab and under Working Directory select Reuse previous session's directory. (The default is Home directory.)



          enter image description here



          Now when invoking the Splitting Vertically with Current Profile command by pressing Command + D keys, the adjoining window will be opened with the same directory as the current working directory.






          share|improve this answer






















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "118"
            ;
            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f337377%2fiterm2-split-vertically-with-current-profile-with-same-working-directory%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            Open iTerm2 preferences by using the keyboard shortcut, Command + , or by invoking the command iTerm2 → Preferences... in the Menu Bar.



            In the preferences window, switch to Profiles tab and under Working Directory select Reuse previous session's directory. (The default is Home directory.)



            enter image description here



            Now when invoking the Splitting Vertically with Current Profile command by pressing Command + D keys, the adjoining window will be opened with the same directory as the current working directory.






            share|improve this answer


























              up vote
              2
              down vote



              accepted










              Open iTerm2 preferences by using the keyboard shortcut, Command + , or by invoking the command iTerm2 → Preferences... in the Menu Bar.



              In the preferences window, switch to Profiles tab and under Working Directory select Reuse previous session's directory. (The default is Home directory.)



              enter image description here



              Now when invoking the Splitting Vertically with Current Profile command by pressing Command + D keys, the adjoining window will be opened with the same directory as the current working directory.






              share|improve this answer
























                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                Open iTerm2 preferences by using the keyboard shortcut, Command + , or by invoking the command iTerm2 → Preferences... in the Menu Bar.



                In the preferences window, switch to Profiles tab and under Working Directory select Reuse previous session's directory. (The default is Home directory.)



                enter image description here



                Now when invoking the Splitting Vertically with Current Profile command by pressing Command + D keys, the adjoining window will be opened with the same directory as the current working directory.






                share|improve this answer














                Open iTerm2 preferences by using the keyboard shortcut, Command + , or by invoking the command iTerm2 → Preferences... in the Menu Bar.



                In the preferences window, switch to Profiles tab and under Working Directory select Reuse previous session's directory. (The default is Home directory.)



                enter image description here



                Now when invoking the Splitting Vertically with Current Profile command by pressing Command + D keys, the adjoining window will be opened with the same directory as the current working directory.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 11 mins ago









                Hara Sitaphal

                446




                446










                answered 1 hour ago









                Nimesh Neema

                8,72342051




                8,72342051



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f337377%2fiterm2-split-vertically-with-current-profile-with-same-working-directory%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery