Hier is een lijst van mijn configfiles.

emacs

installed packages:

  • polymode (min emacs25)
  • poly-markdown (min emacs 25)
  • php-mode (min emacs 25) (installeren met M-x package-install [RET] <package>)

.emacs:

;; Added by Package.el.  This must come before configurations of
;; installed packages.  Don't delete this line.  If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)

;; geen backup files
(setq make-backup-files nil)
(setq auto-save-default nil)

;; CSS & CFM files in html-mode
 (add-to-list 'auto-mode-alist '("\\.css$" . html-mode))
 (add-to-list 'auto-mode-alist '("\\.cfm$" . html-mode)) 

;; tab space width 
(setq-default tab-width 4)

;; linum mode
;; linue numbers mode
(global-linum-mode)

;; hide welcome scree
(setq inhibit-startup-screen t)

;; start van php mode & poly-mode extention code
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
                    (not (gnutls-available-p))))
       (proto (if no-ssl "http" "https")))
  (when no-ssl (warn "\
Your version of Emacs does not support SSL connections,
which is unsafe because it allows man-in-the-middle attacks.
There are two things you can do about this warning:
1. Install an Emacs version that does support SSL and be safe.
2. Remove this warning from your init file so you won't see it again."))
  (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
  )
(package-initialize)
(custom-set-variables
  '(ansi-color-names-vector
   ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
 '(custom-enabled-themes (quote (adwaita)))
 '(package-selected-packages (quote (poly-markdown polymode))))
(custom-set-faces
 )
 
(unless (package-installed-p 'polymode)
  (package-install 'poly-markdown))
;; end php mode & poly-mode extention code