Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Snippets for Bash Command Line?

I use vim and snipmate a lot for my python programming. It would be ideal if I could have a snippet system for the bash command line. Right now I use the gnome terminal in ubuntu...

For instance, if I type:

for<TAB>

I get:

for i in {1..50}; do SOMETHING; done

My google foo fails me, so once again I'm turning to SO. Any ideas?

like image 477
sequenceGeek Avatar asked Feb 08 '12 02:02

sequenceGeek


2 Answers

There are several implementations:

Boom

Bang

Sheet

like image 178
user673592 Avatar answered Oct 27 '22 04:10

user673592


If you're looking for a tool that let you expand macros, you can use autokey.

like image 33
jcollado Avatar answered Oct 27 '22 03:10

jcollado