 (evil-leader/set-leader ",")
 
 (require 'evil)
+(define-key evil-normal-state-map (kbd "C-u") 'evil-scroll-up)
+(define-key evil-visual-state-map (kbd "C-u") 'evil-scroll-up)
+(define-key evil-insert-state-map (kbd "C-u")
+  (lambda ()
+    (interactive)
+    (evil-delete (point-at-bol) (point))))
 (define-key evil-insert-state-map "j" #'cofi/maybe-exit)
-
 (evil-define-command cofi/maybe-exit ()
                      :repeat change
                      (interactive)


(add-hook 'before-save-hook 'delete-trailing-whitespace)

(provide 'init-local)

;;; init-local.el ends here

  "Set up cc config for autocomplete."
   (setq ac-clang-flags
                 (mapcar (lambda (item) (concat "-I" item))
                                         (split-string
                                           "
/usr/include/c++/4.8
/usr/include/x86_64-linux-gnu/c++/4.8
