     (dolist (p missing)
       (package-install p))))
 
-(load-theme 'solarized-light t)
-
-(add-hook 'emacs-lisp-mode-hook
-          (lambda ()
-            (let ((cur (current-buffer)))
-              (if (or (string-equal (buffer-name cur) ".emacs")
-                      (null (buffer-file-name cur)))
-                  nil
-                (view-mode 1)))))
+(load-theme 'solarized-dark t)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 

            (set (make-variable-buffer-local
                  'show-trailing-whitespace)
                 nil)
            (define-key shell-mode-map (kbd "C-c e")
              'my-shell-erase-buffer)
            (define-key shell-mode-map (kbd "<right>")

(global-set-key (kbd "C-o") 'ffap)
(global-set-key (kbd "C-n") 'execute-extended-command)
(global-set-key (kbd "C-p") 'shell)
;;(global-set-key (kbd "C-q") 'ido-switch-buffer)
(global-set-key (kbd "C-r") 'isearch-forward)
(global-set-key (kbd "C-s") 'save-buffer)
(global-set-key (kbd "C-t") 'ido-switch-buffer)
(global-set-key (kbd "C-v") 'clipboard-yank)
(global-set-key (kbd "C-w") 'my-kill-current-buffer)
(global-set-key (kbd "C-z") 'undo)

(global-set-key (kbd "C-x C-q") 'quoted-insert) ; was toggle-read-only
