diff --git a/emacs/init.el b/emacs/init.el index ea45534..6922dd9 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -14,6 +14,20 @@ (column-number-mode 1) (whitespace-mode 1) +(keymap-global-set "C-." 'other-window) +(keymap-global-set "C-c c" 'compile) +(keymap-global-set "C-c C-c" 'recompile) + +(split-window-right) + +(require 'compile) +(add-to-list + 'compilation-error-regexp-alist-alist + '(paren-style + "^\\([^(\n]+\\)(\\([0-9]+\\),\\([0-9]+\\)):" + 1 2 3)) +(add-to-list 'compilation-error-regexp-alist 'paren-style) + (defvar xdg-cache-dir (or (getenv "XDG_CACHE_HOME") (expand-file-name "~/.cache")))