Permalink
Browse files

Taking ag for a spin...

  • Loading branch information...
1 parent da2d918 commit b35d0a9e3b7b80a08e6163fdc55ee6090fda5f8d @genehack committed Mar 10, 2013
Showing with 9 additions and 2 deletions.
  1. +3 −1 etc/keys.el
  2. +5 −1 etc/misc.el
  3. +1 −0 init.el
View
4 etc/keys.el
@@ -7,7 +7,9 @@
;;; GLOBAL ONLY -- mode-specific in mode-specific files
(global-set-key (kbd "C-c C-SPC") 'just-one-space)
-(global-set-key (kbd "C-c C-a") 'ack)
+;;(global-set-key (kbd "C-c C-a") 'ack) ;; commented out while i take ag for a spin...
+(global-set-key (kbd "C-c C-a") 'ag-project-at-point)
+(global-set-key (kbd "C-c C-A") 'ag-regexp-project-at-point)
(global-set-key (kbd "C-c C-b") 'bury-buffer)
(global-set-key (kbd "C-c C-d") 'genehack/dired-right-here)
(global-set-key (kbd "C-c C-g") 'genehack/magit-key)
View
6 etc/misc.el
@@ -2,7 +2,11 @@
;;; This is for stuff that _isn't_ built-in to Emacs
;;; ACK
-(require 'full-ack)
+;(require 'full-ack) ;; commented out while i try ag for a bit...
+
+;;; AG
+(require 'ag)
+(setq ag-highlight-search t)
;;; ANNOYING ARROWS
(require 'annoying-arrows-mode)
View
1 init.el
@@ -72,6 +72,7 @@
(defvar genehack/package-list
'(
+ ag
annoying-arrows-mode
auto-complete
autopair

0 comments on commit b35d0a9

Please sign in to comment.