Moved bar-cursor to marmalade and extracted custom snippets