 (global-set-key (kbd "C-b") 'backward-kill-word)
 (global-set-key (kbd "C-d") 'kill-word)
 (global-set-key (kbd "C-f") 'my-isearch-forward)
+;; (global-set-key (kbd "C-S-f") 'ag-regexp-project-at-point)
 (global-set-key (kbd "C-i") 'my-hippie-tab)
 (global-set-key (kbd "C-j") 'other-window)
 (global-set-key (kbd "C-k") 'my-kill-line-or-region)

    (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)))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


            (set (make-variable-buffer-local
                  'show-trailing-whitespace)
                 nil)
            (toggle-truncate-lines 1)
            ;(buffer-disable-undo)
            (define-key shell-mode-map (kbd "C-<up>")
              'comint-previous-prompt)
            (define-key shell-mode-map (kbd "C-<down>")
              'comint-next-prompt)
            (define-key shell-mode-map (kbd "C-c e")
              'my-shell-erase-buffer)
            (define-key shell-mode-map (kbd "<right>")
