 
             # if we found a unique match
             if bestMatch and useBestMatch
-              atom.workspace.open(bestMatch, {
+                @jumpWord = /(?:\\)(\w+)$/i.exec(term)[1]
+                atom.workspace.open(bestMatch, {
                   searchAllPanes: true
-              })
+                })
             else
               @selectView.setItems(listViewArray)
               @selectView.show()


            withCurrentNamespace = currentClass.replace(/(\w+)$/, term);
            if matches.indexOf(withCurrentNamespace) != -1
                atom.workspace.open(classMap[withCurrentNamespace], {
                    searchAllPanes: true
                })

                if shouldBreak == true
                    break
            currentIndex += value.length;

    ###*
     * Gets the regex used when looking for a word within the editor
     * @param  {string} term Term being search.
     * @return {regex}       Regex to be used.
    ###
    getJumpToRegex: (term) ->
        return ///^(class|interface|abstract class|trait)\ +#{term}///i
