Browse Source

crash

ubuntu
parent
commit
45dbc1deb6
1 changed files with 31 additions and 12 deletions
  1. +31
    -12
      .emacs

+ 31
- 12
.emacs View File

@ -13,8 +13,8 @@
;;-------------- ;;--------------
;; Packages Gerardo Marx/Jul/2020: ;; Packages Gerardo Marx/Jul/2020:
;; Enable Evil ;; Enable Evil
(require 'evil)
(evil-mode 1)
;; (require 'evil)
;; (evil-mode 1)
;; Projectile configuration: ;; Projectile configuration:
(projectile-mode +1) (projectile-mode +1)
(define-key projectile-mode-map (kbd "s-p") 'projectile-command-map) (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
@ -28,8 +28,13 @@
(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks)
(global-set-key (kbd "C-x C-f") #'helm-find-files) (global-set-key (kbd "C-x C-f") #'helm-find-files)
(helm-mode 1) (helm-mode 1)
;; auto-complete
(ac-config-default)
;; pdlatex: ;; pdlatex:
(setq latex-run-command "pdflatex") (setq latex-run-command "pdflatex")
(setenv "PATH" (concat "/Library/TeX/texbin" (getenv "PATH")))
(setq exec-path (append '("/Library/TeX/texbin") exec-path))
;; ------
(setq-default TeX-master nil) (setq-default TeX-master nil)
;; Use pdf-tools to open PDF files ;; Use pdf-tools to open PDF files
(setq TeX-view-program-selection '((output-pdf "PDF Tools")) (setq TeX-view-program-selection '((output-pdf "PDF Tools"))
@ -43,16 +48,7 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (misterioso)))
'(package-selected-packages (quote (virtualenvwrapper helm projectile use-package)))
'(safe-local-variable-values
(quote
((pyvenv-workon . keesman_env)
(org-edit-src-content . 0)
(org-src-preserve-indentation . t)
(TeX-master . "../theLatexBookSci.tex")
(TeX-master . t))))
'(tool-bar-mode nil))
)
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -79,4 +75,27 @@
;; use the default location (`~/.virtualenvs`), or if the ;; use the default location (`~/.virtualenvs`), or if the
;; the environment variable `WORKON_HOME` points to the right place ;; the environment variable `WORKON_HOME` points to the right place
(setq venv-location "~/.virtualenvs") (setq venv-location "~/.virtualenvs")
;; jedi python autocompletition for emacs:
(add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:complete-on-dot t) ; optional
;;--------- ;;---------
;; magit:
(global-set-key (kbd "C-x g") 'magit-status)
;; theme changer:
;; (setq calendar-location-name "Mexico, MX")
;; (setq calendar-latitude 23.63)
;; (setq calendar-longitude 102.55)
;; (require 'theme-changer)
;; (change-theme 'tango 'misterioso)
;; -----------------
;; org agenda and capture
(global-set-key (kbd "C-c l") 'org-store-link)
(global-set-key (kbd "C-c a") 'org-agenda)
(global-set-key (kbd "C-c c") 'org-capture)
(org-babel-do-load-languages
'org-babel-load-languages
'((python . t)))
;; ispell
(setq ispell-program-name "/usr/local/bin/aspell")

Loading…
Cancel
Save