Browse Source

added markdown, more comments in lang-python

master
Marc Pohling 6 years ago
parent
commit
418d3690f5
5 changed files with 37 additions and 0 deletions
  1. 17
      README.md
  2. 3
      elisp/lang-latex.el
  3. 4
      elisp/lang-python.el
  4. 12
      elisp/plugin-markdown.el
  5. 1
      init.el

17
README.md

@ -0,0 +1,17 @@
# emacs dotfiles
## Required paths:
**for python***
* ~/Archiv/Programmierprojekte/Python/virtualenv
**opened directory after start**
* ~/Archiv/Dokumente
## Required packages:
**for latex***
* texlive
* pdf-tools
**for python***
* pip
* epc

3
elisp/lang-latex.el

@ -3,6 +3,9 @@
;; für Ausgabe via pdftools statt docView ;; für Ausgabe via pdftools statt docView
;; benötigt Paket pdf-tools und texlive (in Linux installieren) ;; benötigt Paket pdf-tools und texlive (in Linux installieren)
;; Fedora:
;; # dnf install pdf-tools
;; # dnf install texlive
(use-package pdf-tools (use-package pdf-tools
:ensure t :ensure t
:config :config

4
elisp/lang-python.el

@ -1,6 +1,10 @@
(use-package python (use-package python
:mode ("\\.py\\'" . python-mode)) :mode ("\\.py\\'" . python-mode))
;; ############## ;; ##############
;; EPC muss installiert sein
;; Fedora:
;; # dnf install python3-pip
;; pip3 install --user epc
;; damit der EPC-Server funktioniert, ;; damit der EPC-Server funktioniert,
;; muss in /etc/hosts der Eintrag ;; muss in /etc/hosts der Eintrag
;; 127.0.0.1 localhost ;; 127.0.0.1 localhost

12
elisp/plugin-markdown.el

@ -0,0 +1,12 @@
;; see also
;; https://jblevins.org/projects/markdown-mode/
(use-package markdown-mode
:ensure t
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "multimarkdown"))
(provide 'plugin-markdown)

1
init.el

@ -27,6 +27,7 @@
(require 'plugin-projectile) (require 'plugin-projectile)
(require 'plugin-treemacs) ;nach projectile, da treemacs auch treemacs-projectile lädt (require 'plugin-treemacs) ;nach projectile, da treemacs auch treemacs-projectile lädt
(require 'plugin-spaceline) (require 'plugin-spaceline)
(require 'plugin-markdown)
(require 'plugin-magit) (require 'plugin-magit)
(require 'lang-python) (require 'lang-python)
(require 'lang-latex) (require 'lang-latex)

Loading…
Cancel
Save