Hey guys, I just found myself writing a bit more shell script code and thus wrote some quick snippets into my snippets.conf for making this easier and faster.
The case..esac construct actually is a bit quirky and I wanted to spare the efforts of writing this to anyone who may has to work a lot with Shell scripting...
So, anyone who's interested can copy this into his or her snippets.conf:
[Sh] if=if [ %cursor% ]; then\n\t%cursor%\nfi for=for i in `%cursor%`;\ndo\n\t%cursor%\ndone else=else\n\t%cursor% case=case %cursor% in \n\t%cursor%)\n\t\t%cursor%\n\t\t;;\n\t%cursor%)\n \t\t%cursor%\n\t\t;;\n\t*)\n\t\t%cursor%\n\t\t;;\nesac\n%cursor%
(Note the case construct is one line, actually.)
Regards, Dominic