;; -*- emacs-lisp -*- ;; .ebibrc: customization file for ebib.el ;; first, we need to define the entry types. each entry type is defined ;; with (defentry NAME OBLIGATORY-FIELDS ADDITIONAL-FIELDS), where both ;; OBLIGATORY-FIELDS and ADDITIONAL-FIELDS are lists, which can be nil. ;; book and inbook require either author or editor, that is, you can leave ;; out the author if the editor is filled, even though author is one of the ;; obligatory fields. this is not something we have to worry about, ;; however: ebib does not check these things. (defentry article ;; name of entry type (author title journal year) ;; obligatory fields (volume number pages month note)) ;; additional fields (defentry book (author title publisher year) (editor volume number series address edition month note)) (defentry booklet (title) (author howpublished address month year note)) (defentry inbook (author title chapter pages publisher year) (editor volume series address edition month note)) (defentry incollection (author title booktitle publisher year) (editor volume number series type chapter pages address edition month note)) (defentry inproceedings (author title booktitle year) (editor pages organization publisher address month note)) (defentry manual (title) (author organization address edition month year note)) (defentry misc () (title author howpublished month year note)) (defentry mastersthesis (author title school year) (address month note)) (defentry phdthesis (author title school year) (address month note)) (defentry proceedings (title year) (editor publisher organization address month note)) (defentry techreport (author title institution year) (type number address month note)) (defentry unpublished (author title note) (month year)) ;; we also need to specify the optional fields. each call to ;; EBIB-IGN-FIELDS sets the fields anew, so they all have to appear in one ;; definition. (ebib-ign-fields crossref code url uri annote abstract keywords location) ;; in order to automatically load specific .bib files when ebib is started, ;; uncomment the following line and replace the given filename with the ;; name of the file(s) you want to load. ;; (ebib-preload "~/file1.bib" "~/file2.bib") ;; command key definitions. you can customise these, see the manual for details. (ebib-key index "z" ebib-lower) (ebib-key index "q" ebib-quit) (ebib-key index "o" ebib-load-bibtex-file) (ebib-key index "h" ebib-index-help) (ebib-key index [up] ebib-prev-entry) (ebib-key index [down] ebib-next-entry) (ebib-key index "k" ebib-prev-entry) (ebib-key index "j" ebib-next-entry) (ebib-key index [(control p)] ebib-prev-entry) (ebib-key index [(control n)] ebib-next-entry) (ebib-key index "e" ebib-edit-entry) (ebib-key index "E" ebib-edit-keyname) (ebib-key index "g" ebib-goto-first-entry) (ebib-key index "G" ebib-goto-last-entry) (ebib-key index [home] ebib-goto-first-entry) (ebib-key index [end] ebib-goto-last-entry) (ebib-key index "b" ebib-entry-page-up) (ebib-key index " " ebib-entry-page-down) (ebib-key index [prior] ebib-entry-page-up) (ebib-key index [next] ebib-entry-page-down) (ebib-key index [(alt p)] ebib-entry-page-up) (ebib-key index [(alt n)] ebib-entry-page-down) (ebib-key index "s" ebib-save-current-database) (ebib-key index "S" ebib-save-all-databases) (ebib-key index "w" ebib-write-database) (ebib-key index "c" ebib-close-database) (ebib-key index "m" ebib-merge-bibtex-file) (ebib-key index "a" ebib-add-entry) (ebib-key index "/" ebib-search) (ebib-key index "n" ebib-search-next) (ebib-key index "f" ebib-print-filename) (ebib-key index "d" ebib-delete-entry) (ebib-key index [return] ebib-select-entry) (ebib-key index "x" ebib-export-entry) (ebib-key index "t" ebib-edit-strings) (ebib-key index "p" ebib-edit-preamble) (ebib-key index "X" ebib-export-preamble) (ebib-key index "J" ebib-switch-to-database) (ebib-key index [right] ebib-next-database) (ebib-key index [left] ebib-prev-database) (ebib-key entry [up] ebib-prev-field) (ebib-key entry [down] ebib-next-field) (ebib-key entry "k" ebib-prev-field) (ebib-key entry "j" ebib-next-field) (ebib-key entry [(control p)] ebib-prev-field) (ebib-key entry [(control n)] ebib-next-field) (ebib-key entry "e" ebib-edit-field) (ebib-key entry "g" ebib-goto-first-field) (ebib-key entry "G" ebib-goto-last-field) (ebib-key entry [prior] ebib-goto-prev-set) (ebib-key entry [next] ebib-goto-next-set) (ebib-key entry " " ebib-goto-next-set) (ebib-key entry "b" ebib-goto-prev-set) (ebib-key entry [(alt p)] ebib-goto-next-set) (ebib-key entry [(alt n)] ebib-goto-prev-set) (ebib-key entry [home] ebib-goto-first-field) (ebib-key entry [end] ebib-goto-last-field) (ebib-key entry "q" ebib-quit-entry-buffer) (ebib-key entry "c" ebib-copy-field-contents) (ebib-key entry "x" ebib-cut-field-contents) (ebib-key entry "p" ebib-paste-field-contents) (ebib-key entry "d" ebib-delete-field-contents) (ebib-key entry "r" ebib-toggle-raw) (ebib-key entry "l" ebib-edit-multiline-field) (ebib-key entry "s" ebib-insert-abbreviation) (ebib-key entry "h" ebib-entry-help) (ebib-key strings [up] ebib-prev-string) (ebib-key strings [down] ebib-next-string) (ebib-key strings "k" ebib-prev-string) (ebib-key strings "j" ebib-next-string) (ebib-key strings [(control p)] ebib-prev-string) (ebib-key strings [(control n)] ebib-next-string) (ebib-key strings "e" ebib-edit-string) (ebib-key strings "g" ebib-goto-first-string) (ebib-key strings "G" ebib-goto-last-string) (ebib-key strings [prior] ebib-strings-page-up) (ebib-key strings [next] ebib-strings-page-down) (ebib-key strings "b" ebib-strings-page-up) (ebib-key strings " " ebib-strings-page-down) (ebib-key strings [(alt p)] ebib-strings-page-up) (ebib-key strings [(alt n)] ebib-strings-page-down) (ebib-key strings [home] ebib-goto-first-string) (ebib-key strings [end] ebib-goto-last-string) (ebib-key strings "q" ebib-quit-strings-buffer) (ebib-key strings "c" ebib-copy-string-contents) (ebib-key strings "d" ebib-delete-string) (ebib-key strings "a" ebib-add-string) (ebib-key strings "l" ebib-edit-multiline-string) (ebib-key strings "x" ebib-export-string) (ebib-key strings "X" ebib-export-all-strings) (ebib-key strings "h" ebib-strings-help)