Last active
August 29, 2015 14:17
-
-
Save rosenk/1597766fc885f1b37aba to your computer and use it in GitHub Desktop.
emacs config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) ;; You might already have this line | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) ;; You might already have this line | |
(load-theme 'misterioso) | |
(tool-bar-mode 0) | |
(menu-bar-mode 0) | |
(scroll-bar-mode 0) | |
(global-set-key [f12] 'menu-bar-mode) | |
(toggle-frame-maximized) | |
(require 'guide-key) | |
(setq | |
guide-key/guide-key-sequence '("C-x" "C-c" "C-h") | |
guide-key/recursive-key-sequence-flag t | |
) | |
(guide-key-mode 1) ; Enable guide-key-mode | |
(require 'neotree) | |
(global-set-key [f8] 'neotree-toggle) | |
;; helm-M-x | |
(global-set-key (kbd "M-x") 'helm-M-x) | |
(require 'flx-ido) | |
(ido-mode 1) | |
(ido-everywhere 1) | |
(flx-ido-mode 1) | |
;; disable ido faces to see flx highlights. | |
(setq ido-enable-flex-matching t) | |
(setq ido-use-faces nil) | |
;; c-c++ | |
(add-hook 'c-mode-hook 'linum-mode) | |
(add-hook 'c++-mode-hook 'linum-mode) | |
(add-hook 'c-mode-hook 'flycheck-mode) | |
(add-hook 'c++-mode-hook 'flycheck-mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment