Created
December 14, 2015 16:29
-
-
Save adelarsq/d08a070f40f803562d8a to your computer and use it in GitHub Desktop.
It makes ctrl+p work in the shell.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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