Snippets for command line bash?

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

For example, if I type:

for<TAB> 

I get:

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

My google foo does not suit me, so I turn to SO again. Any ideas?

+8
command-line bash code-snippets snipmate
source share
2 answers

If you are looking for a tool that allows you to extend macros, you can use autokey .

+5
source share

There are several implementations:

Boom

Bang

Sheet

+6
source share

All Articles