cknadler / vim-anywhere

Use Vim everywhere you've always wanted to
MIT License
3.66k stars 147 forks source link

add automatically a keyboard shortcut for osx #55

Closed jacksonfylle closed 6 years ago

jacksonfylle commented 9 years ago

Normally this will add the shortcut automatically. Maybe it would be nice to check if the shortcut already exist. Cause if it already exist(not the first install) it will raise an error. So in the uninstall script delete the shortcut. something like : /usr/libexec/PlistBuddy -c "delete :NSServicesStatus:(null)\ -\ VimAnywhere\ -\ runWorkflowAsService" ~/Library/Preferences/pbs.plist

cknadler commented 8 years ago

Awesome, trying this out right now. Thanks for the PR.

cknadler commented 6 years ago

Sorry I didn't get back to this sooner. I'm going to merge #74 which accomplishes the same task. Thanks for the PR!