update init.el
This commit is contained in:
@@ -14,6 +14,20 @@
|
|||||||
(column-number-mode 1)
|
(column-number-mode 1)
|
||||||
(whitespace-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
|
(defvar xdg-cache-dir
|
||||||
(or (getenv "XDG_CACHE_HOME")
|
(or (getenv "XDG_CACHE_HOME")
|
||||||
(expand-file-name "~/.cache")))
|
(expand-file-name "~/.cache")))
|
||||||
|
|||||||
Reference in New Issue
Block a user