To execute the last command in iTerm2, I can do:
Ctrlpreturn
How can I do a shortcut to execute this? When I try doing a remap "send text" it only sends the literal text:
$ <C-p><Return>
What would be proper way to execute the last command?
To execute the last command in iTerm2, I can do:
Ctrlpreturn
How can I do a shortcut to execute this? When I try doing a remap "send text" it only sends the literal text:
$ <C-p><Return>
What would be proper way to execute the last command?
Enter in the hex codes for the two keystrokes, and :
You will need to look up the hex codes for each character, for example, using xxd
.
$ # enter xxd in 'raw' mode, ctrl-v to send key; ctrl-d to send EOF/exit
$ xxd
^P^M
00000000: 100d 0a