Created
October 1, 2015 10:20
-
-
Save lf94/469831300a2a0083224c to your computer and use it in GitHub Desktop.
Emacs configuration file
This file contains hidden or 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) | |
| (push '("melpa" . "http://melpa.milkbox.net/packages/") | |
| package-archives) | |
| (package-initialize) | |
| (add-to-list 'load-path "~/.emacs.d/vendor/yagist.el") | |
| (require 'yagist) | |
| (setq circe-use-cycle-completion t) | |
| (require 'circe-color-nicks) | |
| (enable-circe-color-nicks) | |
| (require 'pomodoro) | |
| (pomodoro-add-to-mode-line) | |
| (require 'darkroom) | |
| (scroll-bar-mode -1) | |
| (menu-bar-mode -1) | |
| (and | |
| (require 'centered-cursor-mode) | |
| (global-centered-cursor-mode +1)) | |
| (setq ring-bell-function 'ignore) | |
| (require 'nyan-mode) | |
| (setq 'nyan-mode 1) | |
| (require 'web-mode) | |
| (setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ;; one line at a time | |
| (setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling | |
| (setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse | |
| (setq scroll-step 1) ;; keyboard scroll one line at a time | |
| (defun use-monospace () | |
| "Switch the current buffer to a monospace font." | |
| (face-remap-add-relative 'default '(:family "Monospace"))) | |
| (add-hook 'dired-mode-hook 'use-monospace) | |
| (add-hook 'ibuffer-mode-hook 'use-monospace) | |
| (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment