Skip to content

Instantly share code, notes, and snippets.

@Andimeo
Created March 13, 2018 09:54
Show Gist options
  • Save Andimeo/aa7442f082086da6f908b63eac8b99ae to your computer and use it in GitHub Desktop.
Save Andimeo/aa7442f082086da6f908b63eac8b99ae to your computer and use it in GitHub Desktop.
emacs configuration
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)
(add-to-list 'load-path "~/.emacs.d/custom")
(require 'setup-general)
(if (version< emacs-version "24.4")
(require 'setup-ivy-counsel)
(require 'setup-helm)
(require 'setup-helm-gtags))
;; (require 'setup-ggtags)
(require 'setup-cedet)
(require 'setup-editing)
;; function-args
;; (require 'function-args)
;; (fa-config-default)
;; (define-key c-mode-map [(tab)] 'company-complete)
;; (define-key c++-mode-map [(tab)] 'company-complete)
(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
(auto-complete-clang auto-complete semantic/bovine/gcc cmake-ide company-irony-c-headers flycheck-irony irony-eldoc company-irony company-c-headers sr-speedbar 0blayout zygospore helm-gtags helm yasnippet ws-butler volatile-highlights use-package undo-tree iedit dtrt-indent counsel-projectile company clean-aindent-mode anzu))))
(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.
)
(ac-config-default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment