23 lines
701 B
EmacsLisp
23 lines
701 B
EmacsLisp
;; Persist command history
|
|
(savehist-mode 1)
|
|
|
|
;; Enable C-r in evil
|
|
(use-package undo-tree
|
|
:ensure t)
|
|
|
|
;;;; TAGS configuration.
|
|
;; Goto tag with M-.
|
|
(global-set-key "\M-." 'etags-select-find-tag)
|
|
;; Automatically load TAGS file (if exists) when opening emacs.
|
|
(let ((my-tags-file (locate-dominating-file default-directory "TAGS")))
|
|
(when my-tags-file
|
|
(message "Loading tags file: %s" my-tags-file)
|
|
(visit-tags-table my-tags-file)))
|
|
|
|
;; Resize windows
|
|
(global-set-key (kbd "S-C-h") 'shrink-window-horizontally)
|
|
(global-set-key (kbd "S-C-l") 'enlarge-window-horizontally)
|
|
(global-set-key (kbd "S-C-j") 'shrink-window)
|
|
(global-set-key (kbd "S-C-k") 'enlarge-window)
|
|
|
|
(provide 'jenga-emacs)
|