Skip to content

Instantly share code, notes, and snippets.

@xuchunyang
Created August 19, 2015 11:29
Show Gist options
  • Save xuchunyang/103c4dc2fc31cc3b1b9b to your computer and use it in GitHub Desktop.
Save xuchunyang/103c4dc2fc31cc3b1b9b to your computer and use it in GitHub Desktop.
Pick up a Emacs recent file to edit from the Command Line
# Put it in your .zshrc or .bashrc
function ef { sed -n 's/^ *"\(.*\)"/\1/p' ~/.emacs.d/recentf | pick | xargs $EDITOR }
@xuchunyang
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment