             (when (functionp 'prettify-symbols-mode)
               (prettify-symbols-mode))))
 (setq tuareg-match-clause-indent 0)
+(with-eval-after-load 'tuareg
+  (define-key tuareg-mode-map (kbd "M-n") 'tuareg-next-phrase)
+  (define-key tuareg-mode-map (kbd "M-p") 'tuareg-previous-phrase))
+
 ;; Load merlin-mode
 (require 'merlin)
 ;; Start merlin on ocaml files

(global-set-key (kbd "C-c j") 'windmove-down)
(global-set-key (kbd "C-c l") 'windmove-right)
(global-set-key (kbd "C-c h") 'windmove-left)

;; insert before current line and indent
(defun insert-before-and-indent ()

            (setq sh-basic-offset 2
                  sh-indentation 2)))

;; Company mode
(add-hook 'after-init-hook 'global-company-mode)

