Created
December 8, 2014 22:04
-
-
Save sideshowcoder/3ba15c9c5bcfdc15b85f to your computer and use it in GitHub Desktop.
Quick and Dirty Notes hack for Vim
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
| map <leader>nn :edit ~/Dropbox/Notes/ | |
| function SearchNotes() | |
| let search = input("Search Notes: ") | |
| Ag search -f ~/Dropbox/Notes | |
| endfunction | |
| map <leader>sn :call SearchNotes()<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment