I am pretty sure there isn't one perfect solution. Perhaps the best
solution is to give each profile the option of a split horizontal and
split vertical shortcut. So, on the General tab of the Profiles, it
would look like this
new tab key: Ctrl-Cmd <drop down of keys>
split pane vertically key: Cmd <drop down of keys>
split pane horizontally key: Cmd <drop down of keys>
or better yet, drop shortcut key from the General tab and provide
primitives to open each profile as a new tab, hsplit, or vsplit in the
Keys tab. It would be nice if the drop down was nested like
Backward in Time
Forward in time
------------------
New Tab using profile >
New Vertical using profile Split >
New Horizontal Split using profile >
where the nested drop down list was a list of profiles.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
Well, lets look at what they do:
vim: splits show the same file in both windows
emacs: splits show the same file in both windows
tmux: a split opens the default command
screen: a split opens an empty region
dvtm: new windows use the default command
So, the text editors agree, tmux and dvtm agree, but the two sets
don't agree, and screen does something completely different. All of
them provide a way to specify what to use for the split and all of
them provide a method of mapping a command to a keystroke (or set of
keystrokes). Given this, I would expect iTerm to open the default
profile on a split, but to let me define key strokes to open specific
While I didn't know about that feature (thanks for telling us about it), it's
not particularly useful if you want to look at something as a reference while
typing a line in in the same session.
No. Profiles only make sense when starting a tab or a split. What
should happen when you try to apply a profile that has the command
"ssh somehost" to a profile that just uses "bash -l"?
snip
> is that the mark / jump you are talking of?
snip
No, mark allows you to tell iTerm to remember a place in your
scollback buffer and jump scrolls the terminal to that position.
In preferences (cmd-, or iTerm > Preferences), choose the Keys
section. Click the plus sign at the bottom. Press the keyboard
shortcut you wish to assign to a given profile (for instance, cmd-s),
choose Split Horizontally with Profile or Split Vertically with
Profile, choose the profile you want associated with this shortcut,
and hit Ok. Now when you start up iTerm, you can hit the shortcut
associated with the "ssh somehost" profile three times and the "ssh
someotherhost" once and have what you want. If you always want this
arrangement, you should look at the Save Window Arrangement and
Restore Window Arrangement in the Window menu.