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

open drop-down (show all) on @... (like latexing) #17

Open
maxheld83 opened this issue May 20, 2015 · 3 comments
Open

open drop-down (show all) on @... (like latexing) #17

maxheld83 opened this issue May 20, 2015 · 3 comments

Comments

@maxheld83
Copy link

I originally (stupidly) raised this as a bug (#12), but I still think it would be nice to have the citer > show all dropdown show up automatically on @....

Tab completion is great, but often, I want to cite some pieces by the same author, and tab autocompletion will always give me the exact same citekey then (naturally).

Also, the present dropdown has great fuzzy matching (? is that even the right word?), and tab completion doesn't.

Getting into Citer > Show all kind of kills the flow during writing.

I understand this might be annoying for some people, because @ isn't as unique as the LaTeX commands \cite{... is, but it might be an optional setting.

Not sure how much work that would be.

@tpoisot
Copy link

tpoisot commented Jun 14, 2015

I would like that, if it could wait for a few letters before showing all suggestions. If the bibtex file is big, this can take time to show all references.

@mangecoeur
Copy link
Owner

I'm still unsure as to what to do about this. I should point out that if you set the right auto-complete settings, there is already a dropdown. You can trigger it manually with ctrl-space . It's not searchable however - https://www.sublimetext.com/docs/3/auto_complete.html

@nimafazeli
Copy link

A quick workaround that I did was to bind a key to citer_show_keys command.
Wheneve I want to insert a citation I just hit ctrl+c i and enter the key and forget about a clumsy @.
Here is a snippet that can be added to sublime user keybindings:

// Keybindings for Citer to insert bib entry
	{
	    "keys": ["ctrl+c","i"],"command": "citer_show_keys","context": 
	    [
	      {
	        "key": "selector",
	        "operator": "equal",
	        "operand": "text.html.markdown.academicmarkdown"
	      }
	    ]
	  }

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

No branches or pull requests

4 participants