Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Taking ag for a spin...

  • Loading branch information...
commit b35d0a9e3b7b80a08e6163fdc55ee6090fda5f8d 1 parent da2d918
John SJ Anderson authored March 10, 2013
4  etc/keys.el
@@ -7,7 +7,9 @@
7 7
 
8 8
 ;;; GLOBAL ONLY -- mode-specific in mode-specific files
9 9
 (global-set-key (kbd "C-c C-SPC")    'just-one-space)
10  
-(global-set-key (kbd "C-c C-a")      'ack)
  10
+;;(global-set-key (kbd "C-c C-a")      'ack) ;; commented out while i take ag for a spin...
  11
+(global-set-key (kbd "C-c C-a")      'ag-project-at-point)
  12
+(global-set-key (kbd "C-c C-A")      'ag-regexp-project-at-point)
11 13
 (global-set-key (kbd "C-c C-b")      'bury-buffer)
12 14
 (global-set-key (kbd "C-c C-d")      'genehack/dired-right-here)
13 15
 (global-set-key (kbd "C-c C-g")      'genehack/magit-key)
6  etc/misc.el
@@ -2,7 +2,11 @@
2 2
 ;;; This is for stuff that _isn't_ built-in to Emacs
3 3
 
4 4
 ;;; ACK
5  
-(require 'full-ack)
  5
+;(require 'full-ack) ;; commented out while i try ag for a bit...
  6
+
  7
+;;; AG
  8
+(require 'ag)
  9
+(setq ag-highlight-search t)
6 10
 
7 11
 ;;; ANNOYING ARROWS
8 12
 (require 'annoying-arrows-mode)
1  init.el
@@ -72,6 +72,7 @@
72 72
 
73 73
 (defvar genehack/package-list
74 74
   '(
  75
+    ag
75 76
     annoying-arrows-mode
76 77
     auto-complete
77 78
     autopair

0 notes on commit b35d0a9

Please sign in to comment.
Something went wrong with that request. Please try again.