Semantic history, cmd+click iTerm2 this will open your editor of choice on cmd+click of a path in iTerm (from a list of paths, search, grep, rg, fd...) Semantic History pick run coprocess -> echo micro \1