-CiteManager = require('./cite-manager')
+CiteManager = require('./manager')
 path = require 'path'
 
 module.exports =
 class CiteProvider
-  selector: '.text.tex.latex'
+  selector: '.md,.gfm'
   disableForSelector: '.comment'
   inclusionPriority: 2
   suggestionPriority: 3
   excludeLowerPriority: false
-  commandList: [
-    "cite"
-    "citet"
-    "citep"
-    "citeautor"
-    "citeyear"
-    "citeyearpar"
-    "citealt"
-    "citealp"
-    "citetext"
-    "textcite"
+  commandList: [ # TODO replace by a single value
+    "@"
   ]
 
   constructor: ->

      text: result.id
      replacementPrefix: prefix
      type: result.class
      className: 'latex-cite'
      descriptionMarkdown: result.markdownCite
      descriptionMoreURL: result.url
      iconHTML: "<i class=\"#{iconClass}\"></i>"


    # Whatever your prefix regex might be
    regex = ///
            (#{cmdprefixes}) #command group
            ([\w-:]+)$ # machthing the prefix
            ///
    # Get the text for the line up to the triggered buffer position
    line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])
