Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Denite source #19

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

DancingQuanta
Copy link
Contributor

@DancingQuanta DancingQuanta commented Jul 29, 2018

This pull requests add a denite source to citation.vim.

This pull request will start out with porting the unite source's logic to denite python source. Then testing of the denite source and fixing bugs.

Todo:

  • citation.vim source
  • subsources
  • citation_collection source
  • citation kind
  • Highlighting
  • Figure out preview action

@DancingQuanta DancingQuanta changed the title Denite source WIP Denite source Jul 29, 2018
@DancingQuanta
Copy link
Contributor Author

DancingQuanta commented Jul 29, 2018

Example configuration:

call denite#custom#var('citation', 'cache_path', 'None')
call denite#custom#var('citation', 'mode', 'zotero')
call denite#custom#var('citation', 'zotero_version', '4')
call denite#custom#var('citation', 'zotero_path', '~/Zotero')
call denite#custom#var('citation', 'zotero_attachment_path', '~/Zotero/library')
call denite#custom#var('citation', 'collection', 'None')
call denite#custom#var('citation', 'bibtex_file', 'None')
call denite#custom#var('citation', 'reverse_order', 'True')
call denite#custom#var('citation', 'et_al_limit', '5')
call denite#custom#var('citation', 'key_clean_regex', '[^A-Za-z0-9\!\$\&\*\+\-\.\/\:\;\<\>\?\[\]\^\_\`\|]+')
call denite#custom#var('citation', 'key_title_banned_regex', '\b(a|an|the|some|from|on|in|to|of|do|with|der|die|das|ein|eine|einer|eines|einem|einen|un|une|la|le|l|el|las|los|al|uno|una|unos|unas|de|des|del|d)\W')
call denite#custom#var('citation', 'key_format', 'None')
call denite#custom#var('citation', 'key_outer_prefix', '[')
call denite#custom#var('citation', 'key_inner_prefix', '@')
call denite#custom#var('citation', 'key_suffix', ']')
call denite#custom#var('citation', 'desc_format', '{}: {} "{}" -{}- ({})')
call denite#custom#var('citation', 'fields', '['type', 'key', 'title', 'author', 'date']')
call denite#custom#var('citation', 'source_wrap', '||')
call denite#custom#var('citation', 'highlight_dash', '‾⁻−₋‐⋯┄–—―∼┈─▭▬┉━┅₌⁼‗')
call denite#custom#var('citation', 'highlight_bar', '‖│┃┆∥┇┊┋')
call denite#custom#var('citation', 'highlight_bracket', '⊂〔₍⁽⊃〕₎⁾')
call denite#custom#var('citation', 'highlight_arrow', '◀◁<‹▶▷>›')
call denite#custom#var('citation', 'highlight_colon', '∶∷→⇒≫')
call denite#custom#var('citation', 'highlight_blob', '♯♡◆◇◊○◎●◐◑∗∙⊙⊚⌂★☺☻▪■□▢▣▤▥▦▧▨▩')
call denite#custom#var('citation', 'highlight_tiny', '、。‸₊⁺∘♢☆☜☞♢☼')
call denite#custom#var('citation', 'highlight_text', '″‴‶‷')

@dmadisetti
Copy link

Hey, is this stable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants