Link to home
Start Free TrialLog in
Avatar of enthuguy
enthuguyFlag for Australia

asked on

Mac iTerm2 Macros

Hi,
Since I stated using macbook i'm trying to find and automate few keystrokes when using iTerm2

In windows, I use MobaXterm, where I can create macros. Looks for some guidance on how to acheive in Mac iTerm2 please

some cmds which I would ike to execute wtih key combinations

alias ll='ls ltr'

which will allow me to use "ll"

thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of Eoin OSullivan
Eoin OSullivan
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I rely on AutoHotKey when I'm using windows, but for mac there is a nifty automation tool (free/opensource) that is actually pretty powerful called 'Hammerspoon'.  If all you need is one little macro to save some keystrokes, then Eoin has got you covered above.  If you are curious about more in-depth automation or macro capability take a look at their 'getting started page':
http://www.hammerspoon.org/go/

It's got all sorts of cool little tricks....
Hope its helpful!
Thanks!
Michael
E-E, Helpdesk
Avatar of enthuguy

ASKER

thanks Michael, since it’s a work Mac. couldn’t drop the Hammerspoon into application.

any other options/suggestions please