Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do we expand snippets #3

Open
ghost opened this issue Nov 6, 2018 · 2 comments
Open

How do we expand snippets #3

ghost opened this issue Nov 6, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 6, 2018

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

@ghost
Copy link
Author

ghost commented Nov 6, 2018

I added bindkey ‘^l’ snippet-expand to my zshrc

@willghatch
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant