dotfiles
Hier is een lijst van mijn configfiles.
emacs
installed packages:
- polymode (min emacs25)
- poly-markdown (min emacs 25)
- php-mode (min emacs 25)
- emmet mode
.emacs:
;; geen backup files
;; 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)
(setq make-backup-files nil)
(setq auto-save-default nil)
;; default tab width
(setq-default tab-width 4)
;; linum-mode als default
(global-linum-mode)
;; verberg welkomscherm
(setq inhibit-startup-screen t)
;; titelformaat "file [mode]"
(setq-default frame-title-format '("%b [%m]"))
;; include path
(add-to-list 'load-path "~/.emacs.d/lisp/")
;; emmet mode importen
(require 'emmet-mode)
;; tango dark theme
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (tango-dark))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
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
],
"editor.tabSize": 2,
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.donotVerifyTags": true,
"editor.insertSpaces": false
}
keybindings.json
In VS code maak ik gebruik van de Emacs keymap en van de volgende eigen keybindings:
[
{
"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"
}
]
vscode extentions
- Apache Conf (mrmInc)
- Apache conf Snippets (hrdtbs)
- Emacs keymap (hiro-sun)
- Live Sass Compiler (Ritwick Dey)
- Live Server (Ritwick Dey)
- PHP Formatter (Sophisticode)
- PHP IntelliSense (Felix Becker)
- Prettier - Code Formatter (Prettier)
- SVN (Chris Johnston)
- vscode-pdf (Tomoki1207)
- ftp-simple (hummy2833)
Bash prompt
Onderaan aan ~/.bashrc toevoegen:
PS1='\[\e]0;\u@\h:\w\a\]''\[\e[0m\][\[\e[0;92m\]\u\[\e[0;92m\]@\[\e[0;92m\]\h \[\e[0;94m\]\W\[\e[0;97m\]]\[\e[0m\]$ \[\e[0m\]'