Skip to content

Instantly share code, notes, and snippets.

@yutannihilation
Created October 8, 2017 15:55
Show Gist options
  • Save yutannihilation/2badd8a3cd8d3c98b22f0352c316e54c to your computer and use it in GitHub Desktop.
Save yutannihilation/2badd8a3cd8d3c98b22f0352c316e54c to your computer and use it in GitHub Desktop.
;; add load-paths
(add-to-list 'load-path "~/.emacs.d/elisp")
(require 'package)
;; MELPA
(add-to-list
'package-archives
'("melpa" . "http://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)
;; Theme
(load-theme 'distinguished t)
(set-face-attribute (quote default) nil :family "Source Code Pro")
;; Helm
(require 'helm-config)
(define-key global-map (kbd "M-y") 'helm-show-kill-ring)
;; Auto-complete
(require 'auto-complete-config)
(define-key ac-mode-map (kbd "C-c SPC") 'auto-complete)
(ac-config-default)
(setq ac-use-menu-map t)
(setq ac-ignore-case nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment