How do you assign commands to keys in Terminal?
- by NES
Is there a solution to assign special key combinations to words in terminal use.
For example the less command is very usefull and i use i a lot to pipe the output of another process through it.
The idea would be to set up special key combinations that are only active in terminal use assigned to write different commands? So pressing CTRL + l in terminal window could write
| less
or CTRL + G could stand for
| grep
Note: i just mean adding the letters to commandline not execute the finally. A similar way what's tabcompletion but more specific.