Skip to content

Instantly share code, notes, and snippets.

@c0ze
Created December 20, 2018 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c0ze/3e2051e29fe0ac0185a055da6609afdb to your computer and use it in GitHub Desktop.
Save c0ze/3e2051e29fe0ac0185a055da6609afdb to your computer and use it in GitHub Desktop.
;; 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)
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(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.
'(package-selected-packages
(quote
(editorconfig typescript-mode rjsx-mode jsx-mode vue-html-mode yaml-mode markdown-mode coffee-mode dockerfile-mode slim-mode go-autocomplete go-complete go-direx go-dlv go-guru go-mode go-playground))))
(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.
)
(setq make-backup-files nil)
(setq-default show-trailing-whitespace t)
;; always show line numbers
(global-linum-mode 1)
;; insert a space if running in text mode
(if window-system
(progn)
(setq linum-format "%d ")
)
(require 'editorconfig)
(editorconfig-mode 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment