Skip to content

Instantly share code, notes, and snippets.

@adelarsq
Created December 14, 2015 16:29
Show Gist options
  • Save adelarsq/d08a070f40f803562d8a to your computer and use it in GitHub Desktop.
Save adelarsq/d08a070f40f803562d8a to your computer and use it in GitHub Desktop.
It makes ctrl+p work in the shell.
ctrlp() {
</dev/tty vim -c CtrlP
}
zle -N ctrlp
bindkey "^p" ctrlp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment