 
 (defalias 'yes-or-no-p 'y-or-n-p)
 
-(require 'crux)
+(autoload 'crux-start-or-switch-to "crux")
+(autoload 'crux-switch-to-previous-buffer "crux")
+(autoload 'crux-kill-whole-line "crux")
+(autoload 'crux-move-beginning-of-line "crux")
+(autoload 'crux-duplicate-current-line-or-region "crux")
+(autoload 'crux-smart-open-line "crux")
 
 (setenv "PAGER" (executable-find "cat"))
 (global-set-key (kbd "C-c t")


;; (setq helm-ag-command-option "--smart-case")

(require 'helm-swoop)
(define-key helm-swoop-map (kbd "C-r") 'helm-previous-line)
(define-key helm-swoop-map (kbd "C-s") 'helm-next-line)
(global-set-key (kbd "M-i") 'helm-swoop)

(setq projectile-enable-caching t)

(global-set-key (kbd "C-c C-f") 'helm-projectile-find-file)
(global-set-key (kbd "C-x b") 'my-helm-projectile-buffers-list)

(global-set-key (kbd "C-h f") 'helpful-function)
(global-set-key (kbd "C-h F") 'helpful-command)
(global-set-key (kbd "C-h M") 'helpful-macro)
