 ;;;;; pragmaticemacs.com/installing-and-setting-up-emacs/                    ;;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+;;; Code:
+
 ;;Add MELPA repository for packages
 (add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/") t)
 
-(set-default-font "Inconsolata-16")
+(set-frame-font "Inconsolata-16")
 
 ;;smooth scrolling
 (setq prelude-use-smooth-scrolling t)

   (define-key evil-normal-state-local-map (kbd "ma") 'neotree-create-node)
   (define-key evil-normal-state-local-map (kbd "md") 'neotree-delete-node)
   (define-key evil-normal-state-local-map (kbd "r") 'neotree-refresh)
   (define-key evil-normal-state-local-map (kbd "rr") 'neotree-change-root)
   (define-key evil-normal-state-local-map (kbd "mm") 'neotree-rename-node)
))


(setq ido-decorations (quote ("\n↪ "     "" "\n   " "\n   ..." "[" "]" " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]")))

;; better file matching
(ido-mode 1)
(ido-everywhere 1)
(flx-ido-mode 1)
