zsh-snippets
zsh-snippets copied to clipboard
How do we expand snippets
I thought M-x was ⌥x, but that looks like this:
snip<2093>snippet-expand
snip is my custom snippet
snippet-add snip test
I can't figure out how to expand it
ideally it should be binded to tab
I added bindkey ‘^l’ snippet-expand to my zshrc
Sorry, this issue got completely lost in my email. Did binding the other key work for you? I don't have a Mac, so I'm not sure what counts as the Meta key for their terminal emulators, but usually it is alt and can also be done by pressing esc then the desired key (which I think is somewhat dumb, but that's the way terminals are).
By the way, my Zsh plugins are a really low priority for me these days. Feel free to fork this repo and do whatever you want with it.