Search code examples
bashcommand-linecode-snippetssnipmate

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?


Solution

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