update config

This commit is contained in:
Mateus Pinto Rodrigues
2017-12-02 16:35:27 -02:00
parent 58c3bd6728
commit db027945a2
4 changed files with 20 additions and 25 deletions

View File

@@ -13,3 +13,4 @@
(load "~/.emacs.d/elisp/bibtex-setup.el")
(load "~/.emacs.d/elisp/ivy-setup.el")
;(load "~/.emacs.d/elisp/geiser-setup.el")
(load "~/.emacs.d/elisp/keypad.el")

View File

@@ -20,8 +20,12 @@
;; where are the pdfs
(setq bibtex-completion-library-path
'("~/repos/notabug/pesquisa/memory"))
;; where is the notes
(setq bibtex-completion-notes-path "~/repos/notabug/paper_notes.org")
;; where are the notes
(setq bibtex-completion-notes-path "~/repos/notabug/pesquisa/paper_notes.org")
;; some handy visual markers
(setq bibtex-completion-pdf-symbol "")
(setq bibtex-completion-notes-symbol "")
;; open pdfs in mupdf
(setq bibtex-completion-pdf-open-function
(lambda (fpath)
(call-process "mupdf" nil 0 nil fpath)))

View File

@@ -4,12 +4,12 @@
(global-set-key (kbd "<kp-0>") 'delete-window)
(global-set-key (kbd "<kp-1>") 'delete-other-windows)
(global-set-key (kbd "<kp-2>") 'split-window-below)
(global-set-key (kbd "<kp-3>") 'xah-open-file-at-cursor)
(global-set-key (kbd "<kp-3>") 'ivy-bibtex)
(global-set-key (kbd "<kp-subtract>") 'xah-close-current-buffer)
(global-set-key (kbd "<kp-divide>") 'xah-previous-user-buffer)
(global-set-key (kbd "<kp-multiply>") 'xah-next-user-buffer)
;(global-set-key (kbd "<kp-subtract>") 'xah-close-current-buffer)
;(global-set-key (kbd "<kp-divide>") 'xah-previous-user-buffer)
;(global-set-key (kbd "<kp-multiply>") 'xah-next-user-buffer)
;; with control key down
(global-set-key (kbd "<C-kp-divide>") 'xah-previous-emacs-buffer)
(global-set-key (kbd "<C-kp-multiply>") 'xah-next-emacs-buffer)
;(global-set-key (kbd "<C-kp-divide>") 'xah-previous-emacs-buffer)
;(global-set-key (kbd "<C-kp-multiply>") 'xah-next-emacs-buffer)

View File

@@ -9,30 +9,20 @@
(require 'ox-publish)
(setq org-publish-project-alist
'(("org-notes"
:base-directory "~/org/"
:base-directory "~/repos/csphy/website/org/"
:base-extension "org"
:publishing-directory "~/html/"
:publishing-directory "~/repos/csphy/website/jekyll/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-leves 4 ;Just the default for this project.
:with-toc nil
:section-numbers nil
:with-author f
:with-creator nil
:with-date nil
:with-timestamps nil
:with-tage nil
:html-preamble nil
:html-postamble nil
:html-validation-link f
:html-doctype "html5"
:html-extension "html"
:body-only f ;; Only export section between <body> </body>
)
("org-static"
:base-directory "~/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg"
:publishing-directory "~/html/"
:base-directory "~/repos/csphy/website/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"
:publishing-directory "~/repos/csphy/website/"
:recursive t
:publishing-function org-publish-attachment
)