Skip to content

Instantly share code, notes, and snippets.

@wilderjds
Last active January 19, 2020 03:50
Show Gist options
  • Save wilderjds/2d14bf91915e5cc41acfa552b099b2e7 to your computer and use it in GitHub Desktop.
Save wilderjds/2d14bf91915e5cc41acfa552b099b2e7 to your computer and use it in GitHub Desktop.

Add M-{ binding to zsh

Adding this line in .zshrc will cause inserting a pair of {} and putting the cursor between the brackets when typing M-{

bindkey -s '^[{' '{}^B'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment