Last active
September 9, 2019 10:19
-
-
Save 41tair/d2a69729a863535bd4f69dad78572aee to your computer and use it in GitHub Desktop.
emacs on linux minimal 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) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) | |
(package-initialize) | |
(ivy-mode 1) | |
(add-hook 'after-init-hook 'global-company-mode) | |
(global-linum-mode t) | |
(global-set-key [f3] 'execute-extended-command) | |
(global-set-key [f4] 'ag-project) | |
(global-set-key [f5] 'kmacro-start-macro) | |
(global-set-key [f6] 'kmacro-end-and-call-macro) | |
(fset 'yes-or-no-p 'y-or-n-p) | |
(display-time-mode t) | |
(setq display-time-24hr-format 1) | |
(display-battery-mode t) | |
(load-theme 'moe-dark t) | |
(provide 'init) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment