iterm2 - open new tab with same profile
I found some solution - although it should be simple global option.
You can go to keys definitions for each profile and there add mapping CMD+T > "open new tab with profile" and choose the same profile.
Shell
then New Tab With Current Profile
(⌥-⇧-⌘-T) does what it says on the tin.
If you want this to happen as a default (the next terminal tab keep your directory):
- Open iTerm2
- Open Preferences
- Open Profiles
- Open General
- Under working directory choose Reuse previous session's directory
Happy Trails!