1 ;; Set the full name and e-mail address:
 2 (setq user-mail-address "jhradilek@gmail.com")
 3 (setq user-full-name "Jaromir Hradilek")
 4 
 5 ;; Disable backup files:
 6 (setq make-backup-files nil)
 7 
 8 ;; Disable the splash screen:
 9 (setq inhibit-splash-screen t)
10 
11 ;; Set the default foreground and background color:
12 (set-foreground-color "white")
13 (set-background-color "grey15")
14 
15 ;; Set the defualt font:
16 (set-default-font "Ubuntu Mono 12")
17 
18 ;; Hide the main toolbar and both scrollbars:
19 (tool-bar-mode 0)
20 (scroll-bar-mode 0)
21 
22 ;; Highlight matching parentheses:
23 (show-paren-mode 1)
24 
25 ;; Enable line numbering:
26 (global-linum-mode 1)
27 
28 ;; Enable column numbers:
29 (column-number-mode 1)
30 
31 ;; Change indentation rules:
32 (setq-default indent-tabs-mode nil)
33 (setq-default tab-width 2)
34 
35 ;; Customize line wrapping:
36 (setq-default word-wrap t)
37 
38 ;; Configure package repositories:
39 (require 'package)
40 (add-to-list 'package-archives
41              '("melpa" . "http://melpa.milkbox.net/packages/")
42              '("marmalade" . "http://marmalade-repo.org/packages/"))
43 (package-initialize)
44 
45 ;; Configure the YASnippet plug-in:
46 (require 'yasnippet)
47 (yas-global-mode 1)
48 
49 ;; Configure the Org plug-in:
50 (global-set-key "\C-cl" 'org-store-link)
51 (global-set-key "\C-cc" 'org-capture)
52 (global-set-key "\C-ca" 'org-agenda)
53 (global-set-key "\C-cb" 'org-iswitchb)