Skip to content

Instantly share code, notes, and snippets.

@jcsaaddupuy
Created February 10, 2015 21:30
Show Gist options
  • Save jcsaaddupuy/b338f4f7bcbcd285df0f to your computer and use it in GitHub Desktop.
Save jcsaaddupuy/b338f4f7bcbcd285df0f to your computer and use it in GitHub Desktop.
# start vim ctrlp from zsh
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