Live data from Hacker News

ITerm2 2.0

iterm2.com

11–20 of 237 posts

Re: ITerm2 2.0

#11
post #7

So, I have this bash script that runs AppleScript that I use to start up a bunch of servers at once, each in their own Terminal tab. At the heart of it is this 'new-tab' function[1]. I don't really like AppleScript, and would like to not use it. Can I duplicate this functionality using iTerm, without using AppleScript? [1] Here's the code; I cobbled it together from some StackOverflow snippet or something: https://gi…

You might want to put it in a GitHub Gist, or similar, for better readability.

Re: ITerm2 2.0

#12

First, thanks for releasing this! Second, silly question, but what is the recommended way to navigate long commands? Is there a way to click my cursor to a specific point, or a keyboard shortcut to navigate large blocks of words? I tried OPTION+LEFT-CLICK, but sometimes it will have the effect of moving my history to the current command.

I have Alt + Left and Alt + Right set to send `^[ b` and `^[ f` which are set to move backwards one word in most readline-based apps (IIRC).

Re: ITerm2 2.0

#13
post #7

So, I have this bash script that runs AppleScript that I use to start up a bunch of servers at once, each in their own Terminal tab. At the heart of it is this 'new-tab' function[1]. I don't really like AppleScript, and would like to not use it. Can I duplicate this functionality using iTerm, without using AppleScript? [1] Here's the code; I cobbled it together from some StackOverflow snippet or something: https://gi…

Probably this: http://superuser.com/questions/299482/how-do-i-set-up-an-app...

Re: ITerm2 2.0

#14

to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.

The fact that I couldn't get tmux, vim, and copy/paste buffers to play well together with Terminal.app.

If you use tmux, iTerm is the obvious choice. They've been working on better tmux support for a while now.

Re: ITerm2 2.0

#15

to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.

FWIW, I've tried switching to iTerm about 3 times and I've always to come back to Terminal.app because it feels more "solid or "native" and it minimizes the installation + configuration I need to do on a new machine to feel comfortable.

Re: ITerm2 2.0

#16

The tmux integration is a really interesting piece of work. https://docs.google.com/document/d/1ABI0kqUUxoAjxhWW3AsWFis6... http://code.google.com/p/iterm2/wiki/TmuxIntegration

[deleted]

Re: ITerm2 2.0

#17

The tmux integration is a really interesting piece of work. https://docs.google.com/document/d/1ABI0kqUUxoAjxhWW3AsWFis6... http://code.google.com/p/iterm2/wiki/TmuxIntegration

Yes it's technically interesting but am I alone in thinking that it sort of defeats the purpose of using tmux in the first place?

I use tmux partly because I come from a background of low resources, but also because I want my essential tools to use as little resources as possible so that they always work as well as possible on any system.

Yet iTerm proposes that you use their GUI tabs, split their GUI terminals instead of drawing it all with tmux in one text console.

I guess you sacrifice some resources for usability.

Re: ITerm2 2.0

#18

to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.

Well, I started working at a place where I was regularly juggling 2-4 SSH sessions, 2 programs running and dumping logs in other tabs, plus a few more open terminals, and after a coworker introduced me to the wonderful zsh[1], I wondered what other great tools I was missing. That's what led me to iTerm2.

I stuck with iTerm because of the many, many little features and conveniences that make working with the terminal easier.

Tabs can be put at the bottom of the screen, which solves that pesky issue where changing tabs on a fullscreened terminal.app causes the OSX topbar to slide down and intercept your click. Tab titles change color depending on the kind of activity that's going on within. Hotkey mapping is a lot more powerful, and lets you send arbitrary hex/escape codes with hotkeys. There's a drop-down mode, like Tilda or Visor. This might just be placebo, but I'm pretty sure it also glitches out less often than Terminal.app.

All in all, everything is just a little bit nicer than the stock terminal.

[1] officially http://zsh.sourceforge.net/, but you want http://ohmyz.sh/

Re: ITerm2 2.0

#19

to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.

I found that iTerm provides a slightly better experience with Vim: colorschemes were rendered more accurately and redraw performance was improved (most noticeable when scrolling the window line-by-line with CTRL-E and CTRL-Y).

However, MacVim improves again on those two points, so I end up using that.

Re: ITerm2 2.0

#20
> When you cmd-click on a filename in a diff, remove the a/ or b/ prefix and replace with the real directory to open the file.

Still doesn't work for me :(

Post reply on HN