Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 1.88 KB

configovpowered.org

File metadata and controls

76 lines (61 loc) · 1.88 KB

#+TITLE Overpowered cofiguration for Emacs

File for configuration that can be useful and also problematic, so not always I want it turned on. Like things that make writing of code to easy and fast, make thinking of nuts and bolts unnecessary, what is very bad when you learn new language.

General packages

Flycheck (and flymake) are powerful, but problematic so I temporally disable them.

Flycheck

– ????

;; (use-package flycheck
;;   :ensure t
;;   :init (global-flycheck-mode t))

Additional configuration of LaTeX in Emacs

Flymake

;; (use-package flymake
;;   :ensure t
;;   :config
;;   (defun flymake-get-tex-args (file-name)
;;     (list "pdflatex"
;; 	  (list "-file-line-error" "-draftmode"
;; 		"-interaction=nonstopmode" file-name)))
;;   (add-hook 'LaTeX-mode-hook 'flymake-mode))

Powerful configuration of IDEs inside Emacs and appropriate packages

They so powerful that using them may be detrimental to you knowledge of language.

For many languages

Yasnippet

You can past a snippet of code Install also yasnippet-snippets package.

(use-package yasnippet
  :ensure t
  :init (yas-global-mode 1))

Python

Elpy – auto-completion???

Istaluj przez pip rope, jedi, elpy Potrzebuje też paczki Emacsa ag. py-autopep8?

(use-package elpy
  :ensure t
  :defer t
  :init (advice-add 'python-mode :before 'elpy-enable)
  :config
  (define-key yas-minor-mode-map (kbd "C-c k") 'yas-expand)
  (define-key global-map (kbd "C-c o") 'iedit-mode)
  )

Jedi

– auto-completion???

(use-package jedi
  :ensure t
  :init
  (add-hook 'python-mode-hook 'jedi:setup)
  (add-hook 'python-mode-hook 'jedi:ac-setup)
  :config
  (setq jedi:complet-on-dot t))