Live data from Hacker News

Little known features of iTerm2

banga.github.io

121–130 of 156 posts

Re: Little known features of iTerm2

#121

Hi, author here. What a great way to wake up, an HN love fest :) Check our the Tip of the Day feature, which is meant to help you find stuff like this.

Any chance of a port to Linux/X (Ubuntu) and especially Windows? I recently needed a terminal emulator that supports Sixel.

Re: Little known features of iTerm2

#122

Hi, author here. What a great way to wake up, an HN love fest :) Check our the Tip of the Day feature, which is meant to help you find stuff like this.

Any chance of a port to Linux/X (Ubuntu) and especially Windows? I recently needed a terminal emulator that supports Sixel.

Second this. ITerm2 is the only console emulator that I actually enjoy using. I've been flip-flopping on terminals on windows and linux constantly.

Re: Little known features of iTerm2

#123
post #34

Not sure whether or not this is a little-known feature. iTerm2 has _fantastic_ integration with tmux (software used for persisting a terminal session across multiple logins). Tmux can be a pretty complex piece of software, but iTerm can basically wrap it all up into a nice package. You don't need to know anything at all about tmux to use iTerm's tmux integration. If you're SSHed into a server that has tmux installed,…

I use iTerm2 with tmux every day (but I don’t ssh into machines often nowadays) and I feel oppositely — I don’t get the attraction of the tmux integration. But maybe I still haven’t understood it, so please feel free to tell me what I’m missing. For me, the purpose of using tmux on my laptop is session, window, and pane management. (Perhaps my favorite tmux feature is zoom-pane.) So I find that the iTerm2 tmux integr…

Out of curiosity, why do you use iTerm2? As a heavy tmux user, I made the switch back to Terminal recently and never looked back.

Re: Little known features of iTerm2

#124

Cool article, but here I am don't know how to jump between words on iterm2

Something that I do:

`set -o vi` and then hit ``. You now have vim motion-like controls to navigate on the command line:

- `b` goes back a word.

- `w` goes forward a word.

- `0` goes to the beginning of the line.

- `$` goes to the end of the line.

etc.

I put `set -o vi` in my rc file so I have it on by default.

Re: Little known features of iTerm2

#125

Hi, author here. What a great way to wake up, an HN love fest :) Check our the Tip of the Day feature, which is meant to help you find stuff like this.

Any chance of a port to Linux/X (Ubuntu) and especially Windows? I recently needed a terminal emulator that supports Sixel.

It’s a simple matter of funding me for the next 7 years :)

Re: Little known features of iTerm2

#126

Earlier quoted context omitted.

Any chance of a port to Linux/X (Ubuntu) and especially Windows? I recently needed a terminal emulator that supports Sixel.

It’s a simple matter of funding me for the next 7 years :)

I suspect it's a simple matter of giving you a job where you are forced to use Windows for everything :)

Re: Little known features of iTerm2

#127

Earlier quoted context omitted.

I use iTerm2 with tmux every day (but I don’t ssh into machines often nowadays) and I feel oppositely — I don’t get the attraction of the tmux integration. But maybe I still haven’t understood it, so please feel free to tell me what I’m missing. For me, the purpose of using tmux on my laptop is session, window, and pane management. (Perhaps my favorite tmux feature is zoom-pane.) So I find that the iTerm2 tmux integr…

I love tmux just for letting me run long running sessions on remote machines. I don't like tmux's window management, I want to use my terminal, scroll back with mouse, that kind of thing. Tmux integration is therefore for those of us who love their GUI terminal :)

You can always `set -g mouse on` in your `tmux.conf`. But that has the nasty downside of stopping you from being able to right-click and copy text to your OS clipboard. It does let you pane select and scroll with a mouse though.

Re: Little known features of iTerm2

#128

Earlier quoted context omitted.

Can it extract the correct line number from tracebacks, compiler / linter output etc? I wrote this tool, but I know George Nachman has added some features since I wtote it: https://github.com/dandavison/iterm2-dwim

It should, I originally built it for rspec output but it should work with most common formats that put the line number attached to the path with a colon.

Hey! Glad to see you’re still around. Hope you’re doing well :)

Re: Little known features of iTerm2

#129

Hi, author here. What a great way to wake up, an HN love fest :) Check our the Tip of the Day feature, which is meant to help you find stuff like this.

The github trick is pretty cool. I'm running into an issue though where it opens the link but in the wrong repo. Have you ever experienced that?
Post reply on HN