Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@garretraziel
Last active January 13, 2020 15:37
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 garretraziel/247137f3b3e9e1bf0cc4da2d1138a9ea to your computer and use it in GitHub Desktop.
Save garretraziel/247137f3b3e9e1bf0cc4da2d1138a9ea to your computer and use it in GitHub Desktop.
Emacs dotfile
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t))
;; 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)
(add-to-list 'load-path "~/.emacs.d/lisp/")
;;(require 'ox-confluence)
(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.
'(backup-by-copying t)
'(backup-directory-alist '((".*" . "C:/emacs-backup")))
'(column-number-mode t)
'(custom-enabled-themes '(zenburn))
'(delete-old-versions t)
'(dired-listing-switches "-alh")
'(display-line-numbers t)
'(ediff-split-window-function 'split-window-horizontally)
'(electric-pair-mode t)
'(icomplete-mode t)
'(ido-mode 'both nil (ido))
'(inhibit-startup-screen t)
'(kept-new-versions 6)
'(org-agenda-files
'("c:/Users/jsedlak/Documents/notebook/usrindex.org" "c:/Users/jsedlak/Documents/notebook/performance_usecases.org" "c:/Users/jsedlak/Documents/notebook/performance.org" "c:/Users/jsedlak/Documents/notebook/account_moving.org"))
'(org-src-fontify-natively t)
'(package-selected-packages '(esup vlf org-onenote htmlize p4 zenburn-theme json-mode))
'(save-place t)
'(show-paren-mode t)
'(size-indication-mode t)
'(tool-bar-mode nil)
'(user-mail-address "mail@jansedlak.cz")
'(visible-bell t))
(add-to-list 'auto-mode-alist '("\\.mapping\\'" . json-mode))
(prefer-coding-system 'utf-8-unix)
(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.
'(default ((t (:family "Source Code Variable" :foundry "outline" :slant normal :weight normal :height 113 :width normal)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment