emacsd / init-bib.el

;;; init-bib.el
;; Copyright (C) Yagnesh Raghava Yakkala. http://yagnesh.org
;;    File: init-bib.el
;; Created: Sunday, September  4 2011
;; License: GPL v3 or later. You should get a copy from <http://www.gnu.org/licenses/gpl.html>

;;; Description:
;; managing bibliography modes

(autoload 'ebib "ebib"
  "Ebib, a BibTeX database manager." t)

(add-hook 'LaTeX-mode-hook
          #'(lambda ()
              (local-set-key "\C-cb" 'ebib-insert-bibtex-key)))

(global-set-key (kbd "C-c B") 'ebib)

 ebib-file-search-dirs '("~/git/bib/")
 ebib-insertion-commands                ; which cite commands you wanna use
 '(("cite" 1 nil) ("citep" 1 nil) ("citet" 1 nil))
 ebib-preload-bib-files '("~/git/bib/fullnames.bib" "~/git/bib/shortnames.bib"

;;; init-bib.el ends here
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.