Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WIP Denite source#19

Open
DancingQuanta wants to merge 6 commits intorafaqz:masterrafaqz/citation.vim:masterfrom
DancingQuanta:deniteDancingQuanta/citation.vim:deniteCopy head branch name to clipboard
Open

WIP Denite source#19
DancingQuanta wants to merge 6 commits intorafaqz:masterrafaqz/citation.vim:masterfrom
DancingQuanta:deniteDancingQuanta/citation.vim:deniteCopy head branch name to clipboard

Conversation

@DancingQuanta
Copy link
Copy Markdown
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
Copy Markdown
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', '″‴‶‷')

@DancingQuanta DancingQuanta force-pushed the denite branch 3 times, most recently from 8c9f0c5 to 8722053 Compare August 1, 2018 06:54
@DancingQuanta DancingQuanta mentioned this pull request Aug 10, 2018
@DancingQuanta DancingQuanta force-pushed the denite branch 4 times, most recently from e0284a6 to 1c2b7e8 Compare August 27, 2018 21:25
@dmadisetti
Copy link
Copy Markdown

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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.