Hi Mauro!
I'd like to try and use abook-vim, but frankly, I don't know enough vim-scripting to figure out how to use it.
I'm imagining an integration with vim-taskwarrior (https://github.com/farseer90718/vim-taskwarrior) so that when looking at a task to "call Nancy about dog-sitting" with the cursor over the task hit vim-taskwarrior keybinding "C" for contacts (doesn't exist yet) it would cross-reference tags and description, looking for upper-cased words (like Nancy) and would call the abook-vim command :Contact (also imaginary) which displays all matching contacts. This behavior would be part of vim-taskwarrior, using abook-vim.
Maybe a "few" associated commands would help;
:Contact [args]
to display all matching contact details
:ContactPhone [args]
to show all available phone numbers
:ContactHome [args]
to show home phone#
:ContactMobile [args]
to show mobile phone#
:ContactWork [args]
to show work phone#
:ContactEmail [args]
to show email address
:ContactWeb [args]
to show URL
:ContactAddress [args]
to show street address, and
:ContactNotes [args]
to show any associated notes
I don't know if this would work for you, but I'm pretty sure it would work for me!
mille grazie!
Hi Mauro!
I'd like to try and use abook-vim, but frankly, I don't know enough vim-scripting to figure out how to use it.
I'm imagining an integration with vim-taskwarrior (https://github.com/farseer90718/vim-taskwarrior) so that when looking at a task to "call Nancy about dog-sitting" with the cursor over the task hit vim-taskwarrior keybinding "C" for contacts (doesn't exist yet) it would cross-reference tags and description, looking for upper-cased words (like Nancy) and would call the abook-vim command :Contact (also imaginary) which displays all matching contacts. This behavior would be part of vim-taskwarrior, using abook-vim.
Maybe a "few" associated commands would help;
:Contact [args]
to display all matching contact details
:ContactPhone [args]
to show all available phone numbers
:ContactHome [args]
to show home phone#
:ContactMobile [args]
to show mobile phone#
:ContactWork [args]
to show work phone#
:ContactEmail [args]
to show email address
:ContactWeb [args]
to show URL
:ContactAddress [args]
to show street address, and
:ContactNotes [args]
to show any associated notes
I don't know if this would work for you, but I'm pretty sure it would work for me!
mille grazie!