Commit 5211db63 authored by marc0s's avatar marc0s

Add a new function to check errors from buffer start

parent 2ae9056f
......@@ -474,4 +474,13 @@ The destination file is derived from the CURRENT buffer file name,
(ansi-term term-cmd)))))
(global-set-key (kbd "<f2>") 'marc0s/visit-ansi-term)
(defun marc0s/flycheck-from-buffer-start ()
"Moves point to buffer start before calling flycheck-next-error"
(goto-char (point-min))
(global-set-key (kbd "<f9>") 'marc0s/flycheck-from-buffer-start)
;;; init.el ends here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment