Replaced ag with rg. default tip
authorLuke Hoersten <luke@hoersten.org>
Sun, 16 Feb 2020 14:02:12 -0600
changeset 103 f76683958fb4
parent 102 c87589ea77d5
Replaced ag with rg.
init.el
--- a/init.el	Thu Aug 16 20:20:43 2018 -0500
+++ b/init.el	Sun Feb 16 14:02:12 2020 -0600
@@ -1,5 +1,7 @@
-;; ~/.emacs.d/init.el (~/.emacs)
-;; Luke Hoersten <[email protected]>
+;;; init --- Summary: Luke Hoersten <[email protected]> personal init file
+
+;;; Commentary:
+;;; ~/.emacs.d/init.el (~/.emacs)
 
 ;;; Code:
 (add-to-list 'load-path "~/.emacs.d/elisp")   ; set default emacs load path
@@ -33,7 +35,7 @@
 (global-set-key (kbd "C-c c") 'compile)       ; compile
 (global-set-key (kbd "C-c r") 'recompile)     ; recompile
 (global-set-key (kbd "C-c a") 'align-regexp)  ; align
-(global-set-key (kbd "C-c g") 'ag)            ; ag
+(global-set-key (kbd "C-c g") 'rg)            ; rg
 
 
 ;;; ediff
@@ -63,7 +65,7 @@
 ;;;; Packages ;;;;
 (package-initialize)
 (require 'package-require)
-(package-require '(ag company exec-path-from-shell expand-region flx-ido
+(package-require '(rg company exec-path-from-shell expand-region flx-ido
  smex markdown-mode markdown-mode+ hgignore-mode move-text paredit
  rainbow-delimiters json-mode json-reformat flycheck
  solarized-theme terraform-mode visual-regexp yasnippet yaml-mode
@@ -250,3 +252,6 @@
 ;;; visual-regexp
 (global-set-key (kbd "C-M-%") 'vr/query-replace)
 (global-set-key (kbd "M-%") 'vr/replace)
+
+(provide 'init)
+;;; init.el ends here