Created
July 20, 2013 16:58
-
-
Save dbushenko/6045709 to your computer and use it in GitHub Desktop.
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
(setq show-paren-style 'expression) | |
(show-paren-mode 2) | |
(menu-bar-mode -1) | |
(tool-bar-mode -1) | |
(setq make-backup-files nil) ; Don't want any backup files | |
(setq auto-save-list-file-name nil) ; Don't want any .saves files | |
(setq auto-save-default nil) ; Don't want any auto saving | |
(add-to-list 'load-path "~/.emacs.d/") | |
(add-to-list 'load-path "~/EmacsCasts/episode03/") | |
;; http://code.google.com/p/dea/source/browse/trunk/my-lisps/linum%2B.el | |
(require 'linum+) | |
(setq linum-format "%d ") | |
(global-linum-mode 1) | |
;; built-in | |
(require 'ido) | |
(ido-mode t) | |
(setq ido-enable-flex-matching t) | |
;; built-in | |
(require 'bs) | |
(setq bs-configurations | |
'(("files" "^\\*scratch\\*" nil nil bs-visits-non-file bs-sort-buffer-interns-are-last))) | |
(global-set-key (kbd "<f2>") 'bs-show) | |
;; http://www.emacswiki.org/emacs/AutoComplete | |
(add-to-list 'load-path "~/EmacsCasts/episode03/auto-complete") | |
(require 'auto-complete-config) | |
(ac-config-default) | |
(add-to-list 'ac-dictionary-directories "/home/dim/EmacsCasts/episode03/auto-complete/dict") | |
(a | |
;; http://www.emacswiki.org/emacs/SrSpeedbar | |
(require 'sr-speedbar) | |
(global-set-key (kbd "<f12>") 'sr-speedbar-toggle) | |
;; http://www.emacswiki.org/emacs/Yasnippet | |
(add-to-list 'load-path "~/EmacsCasts/episode03/yasnippet") | |
(require 'yasnippet) | |
(yas-global-mode 1) | |
(yas/load-directory "~/EmacsCasts/episode03/yasnippet/snippets") | |
;; http://www.emacswiki.org/emacs/ColorTheme | |
;; Tools -> Color themes | |
(add-to-list 'load-path "~/EmacsCasts/episode03/color-theme/") | |
(require 'color-theme) | |
(color-theme-initialize) | |
(setq color-theme-is-global t) | |
(color-theme-robin-hood) | |
(color-theme-classic) | |
(color-theme-select) | |
;; Options -> Set default font | |
(add-to-list 'default-frame-alist '(font . "Consolas-18")) | |
(set-default-font "Consolas-18") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its not obvious why (show-paren-mode 2) instead of (show-paren-mode 1). It's a little bit confusing.
Documentation for show-paren-mode says: "Toggle visualization of matching parens (Show Paren mode).
With a prefix argument ARG, enable Show Paren mode if ARG is positive, and disable it otherwise."