aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base.yaml1
-rw-r--r--base/ackrc40
2 files changed, 41 insertions, 0 deletions
diff --git a/base.yaml b/base.yaml
index 1b72a3a..a962fef 100644
--- a/base.yaml
+++ b/base.yaml
@@ -8,6 +8,7 @@
- clean: ['~']
- link:
+ ~/.ackrc: base/ackrc
~/.bin/dot: base/dot
~/.capsesc: base/capsesc
~/.curlrc: base/curlrc
diff --git a/base/ackrc b/base/ackrc
new file mode 100644
index 0000000..6b0de17
--- /dev/null
+++ b/base/ackrc
@@ -0,0 +1,40 @@
+# only search with case sensitivity if there is mixed case
+--smart-case
+
+# follow symlinks
+--follow
+
+# color settings
+--color-filename=white
+--color-lineno=cyan
+--color-match=magenta underline
+
+# search other filetypes
+--type-add
+ruby=haml,rabl,builder
+
+--type-add
+css=.styl,.scss
+
+--type-add
+js=json,tmpl,jst,coffee,ts
+
+--type-add
+css=sass,scss
+
+--type-set=md=.markdown,.md
+
+# ignore some dirs
+--ignore-dir=build
+--ignore-dir=vendor/bundle
+--ignore-dir=.idea
+--ignore-dir=tmp
+--ignore-dir=log
+--ignore-dir=.tmp
+--ignore-dir=coverage
+--ignore-dir=dist
+
+# ignore some files
+--ignore-file=is:tags
+--ignore-file=is:.tags
+--ignore-file=is:.example_statuses