Select a snippet or create a new one