bin/ack: ack v3.8.1
[dotfiles.git] / .ackrc
diff --git a/.ackrc b/.ackrc
index 443c7574cbd6d8fb47d1f159e57a034ca0ff9750..b850e70761be06fa7ecab9f1a4d6106acde61011 100644 (file)
--- a/.ackrc
+++ b/.ackrc
@@ -1,6 +1,6 @@
+# --------------------------------------------------------------------
 # General Ack Settings
-# ####################################################################
-
+# --------------------------------------------------------------------
 # only search with case sensitivity if there is mixed case
 --smart-case
 # follow symlinks
@@ -9,18 +9,23 @@
 --sort-files
 # always color, even if piping to a another program
 --color
-# no grouping
---noheading
+# grouping
+--heading
 --break
+# always use a PAGER
+--pager=less
+# always print filename prefix
+--with-filename
 
-# Ack Type Settings
-# ####################################################################
---type-set=mumps=.m,.ro,.ROU,.GLO
---type-set=markdown=.md,.mkd,.markdown
---type-set=css=.css,.scss
+# --------------------------------------------------------------------
+# Custom File-Types
+# --------------------------------------------------------------------
+--type-add=mumps:ext:m,ro,ROU,GLO
+--type-add=markdown:ext:md,mkd,markdown
 
+# --------------------------------------------------------------------
 # Colors
-# ####################################################################
---color-filename=cyan
---color-lineno=yellow bold
---color-match=white on_green bold
+# --------------------------------------------------------------------
+--color-filename=cyan underline
+--color-lineno=yellow
+--color-match=green bold