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

VS code

settings.json

{
    "window.zoomLevel": 0,
    "editor.minimap.enabled": false,
    "editor.tabCompletion": "on",
    "editor.cursorStyle": "block",
    "editor.cursorBlinking": "phase",
    "window.menuBarVisibility": "visible",
    "editor.minimap.showSlider": "always",
    "workbench.editor.tabSizing": "shrink",
    "workbench.editor.showTabs": true,
    "workbench.editor.labelFormat": "medium",
    "git.autofetch": true,
    "editor.renderLineHighlight": "all",
    "workbench.sideBar.location": "left",
    "editor.renderWhitespace": "none",
    "workbench.activityBar.visible": true,
    "breadcrumbs.enabled": true,
    "editor.renderControlCharacters": true,
    "workbench.statusBar.visible": true,
    "editor.minimap.renderCharacters": false,
    "extensions.ignoreRecommendations": false,
    "editor.suggestSelection": "first",
    "editor.rulers": [
        80
    ],
    "workbench.colorTheme": "Default Light+",
    "editor.tabSize": 2
}

keybindings.json

In VS code maak ik gebruik van de Emacs keymap en van de volgende eigen keybindings:

/ Place your key bindings in this file to override the defaults
[
    {
        "key": "ctrl+space ctrl+space",
        "command": "emacs.exitMarkMode",
        "when": "editorHasSelection && editorTextFocus"
    }
    {
        "key": "ctrl+x shift+2",
        "command": "workbench.action.splitEditorDown"
    },
    {
        "key": "ctrl+x shift+3",
        "command": "workbench.action.splitEditorRight"
    },
    {
        "key": "ctrl+x o",
        "command": "workbench.action.nextEditor"
    },
        {
        "key": "ctrl+x ctrl+c",
        "command": "workbench.action.closeActiveEditor"
    }
]