Skip to content

Instantly share code, notes, and snippets.

@amerov
Last active August 29, 2015 13:55
Show Gist options
  • Save amerov/8750246 to your computer and use it in GitHub Desktop.
Save amerov/8750246 to your computer and use it in GitHub Desktop.
emacs configuration
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)
(put 'set-goal-column 'disabled nil)
(setq auto-save-default nil)
(setq auto-save-list-file-name nil)
(global-linum-mode t)
(ido-mode t)
(setq initial-frame-alist (quote ((fullscreen . maximized))))
(setq make-backup-files nil)
(setq require-final-newline t)
(show-paren-mode t)
(setq show-paren-style (quote expression))
(setq tab-width 4)
(tool-bar-mode -1)
(blink-cursor-mode -1)
(global-hl-line-mode t)
(column-number-mode t)
(size-indication-mode t)
(setq inhibit-startup-screen t)
(global-set-key (kbd "<f2>") 'bs-show)
(hl-line-mode t)
(desktop-save-mode t)
(global-set-key "\C-z" 'undo)
(setq x-select-enable-clipboard t)
(fset 'yes-or-no-p 'y-or-n-p)
(load-theme 'solarized-light t)
(smartparens-mode t)
;(global-flycheck-mode t)
(evil-mode t)
(yas-global-mode t)
(electric-indent-mode t)
(show-paren-mode t)
(size-indication-mode t)
(tool-bar-mode -1)
(require 'smartparens-ruby)
(smartparens-global-mode t )
(show-smartparens-global-mode t)
(global-auto-complete-mode t)
(nyan-mode t)
(scroll-bar-mode -1)
(blink-cursor-mode nil)
(column-number-mode t)
(setq projectile-enable-caching t)
(add-hook 'robe-mode-hook 'ac-robe-setup)
(defadvice inf-ruby-console-auto (before activate-rvm-for-robe activate)
(rvm-activate-corresponding-ruby))
(helm-mode t)
(set-fringe-style -1)
(tooltip-mode -1)
;(smart-tabs-mode t)
;(smart-newline t)
(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 (:family "Ubuntu Mono" :foundry "unknown" :slant normal :weight normal :height 98 :width normal)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment