|
|
|
@ -156,6 +156,9 @@ There are two things you can do about this warning:
|
|
|
|
|
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) |
|
|
|
|
(add-hook 'scheme-mode-hook #'enable-paredit-mode) |
|
|
|
|
|
|
|
|
|
(add-hook 'c-mode-hook 'counsel-gtags-mode) |
|
|
|
|
(add-hook 'c++-mode-hook 'counsel-gtags-mode) |
|
|
|
|
|
|
|
|
|
(require 'rainbow-delimiters) |
|
|
|
|
|
|
|
|
|
(add-hook 'clojure-mode-hook 'rainbow-delimiters-mode) |
|
|
|
@ -208,6 +211,15 @@ There are two things you can do about this warning:
|
|
|
|
|
;; Press <f2> in lisp mode to evaluate the current defun in SLIME. |
|
|
|
|
(define-key lisp-mode-map (kbd "<f2>") 'slime-eval-defun) |
|
|
|
|
|
|
|
|
|
;; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(with-eval-after-load 'counsel-gtags |
|
|
|
|
(define-key counsel-gtags-mode-map (kbd "M-t") 'counsel-gtags-find-definition) |
|
|
|
|
(define-key counsel-gtags-mode-map (kbd "M-r") 'counsel-gtags-find-reference) |
|
|
|
|
(define-key counsel-gtags-mode-map (kbd "M-s") 'counsel-gtags-find-symbol) |
|
|
|
|
(define-key counsel-gtags-mode-map (kbd "M-,") 'counsel-gtags-go-backward)) |
|
|
|
|
|
|
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
|
;; Install and load Packages |
|
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
|