Last active
January 13, 2016 15:58
-
-
Save ba0f3/47cc506a97b43be0d743 to your computer and use it in GitHub Desktop.
Emacs init 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
(ido-mode 1) | |
(tool-bar-mode -1) | |
(scroll-bar-mode -1) | |
;(menu-bar-mode -1) | |
(show-paren-mode 1) | |
(eldoc-mode 1) | |
(defalias 'yes-or-no-p 'y-or-n-p) | |
(setq make-backup-files nil) | |
(global-set-key "\C-w" 'backward-kill-word) | |
(global-set-key "\C-g" 'goto-line) | |
(setq rcirc-server-alist | |
'(("irc.freenode.net" | |
:port 6697 | |
:encryption tls | |
:nick "rgv151" | |
:password "S3cret" | |
:channels ("#nim" "#pocoo")))) | |
(require 'package) | |
(package-initialize) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
;(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) | |
;; Makes emacs transparent | |
(set-frame-parameter (selected-frame) 'alpha '(85 85)) | |
(add-to-list 'default-frame-alist '(alpha 85 85)) | |
;; Load monokai theme | |
(load-theme 'monokai t) | |
(projectile-global-mode) | |
(add-hook 'after-init-hook 'global-company-mode) | |
(eval-after-load 'company '(add-to-list 'company-backends 'company-nim)) | |
(add-hook 'nim-mode-hook 'company-mode) | |
(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. | |
'(column-number-mode t) | |
'(show-paren-mode t) | |
'(tool-bar-mode nil)) | |
(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. | |
'(default ((t (:inherit nil :stipple nil :background "#272822" :foreground "#F8F8F2" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 83 :width normal :foundry "unknown" :family "Monaco"))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment