forked from adkron/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathackrc.symlink
64 lines (49 loc) · 1.66 KB
/
ackrc.symlink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--color
# Automatically send output through less (with processing of ANSI color codes) unless piping.
--pager=less -R
# Always display the files in alphabetical order.
--sort-files
# Display 3 lines before and after each matching line.
--context=3
# Follow soft links.
--follow
# Print file name on a separate line before all matches for that file, with blank line between files.
--group
# Ignore directories that don't (normally) contain source code. If you want to search in them, specify them in the command line.
--ignore-dir=.idea
--ignore-dir=.bundle
--ignore-dir=tmp
--ignore-dir=temp
--ignore-dir=log
--ignore-dir=coverage
--ignore-dir=results
--ignore-dir=mock_data
--ignore-dir=stress_test_scripts
--ignore-dir=vendor
## Add some new file types and file extensions.
# This is so I can use "bash" in place of "shell".
--type-set=bash=.bash,.sh
# When looking for Ruby files, include HAML files and rake files.
--type-add=ruby=.haml,.rake
# When looking for CSS files, include Sass and Less files (which get compiled into CSS).
--type-add=css=.sass,.scss,.less
# I never use this for PHP, but some people/projects use it for PHP include files.
--type-add=php=.inc
# Create a type just for HAML files.
--type-set=haml=.haml
# Create a type for CoffeeScript files (and Eco templates).
--type-set=coffee=.coffee,.eco
# Create a type for Cucumber feature files.
--type-set=cucumber=.feature
# Add a few more programming languages.
--type-set=ada=.ada
--type-set=boo=.boo
--type-set=clojure=.clj
--type-set=eiffel=.e,.eiffel
--type-set=factor=.factor
--type-set=fsharp=.fs
--type-set=groovy=.groovy
--type-set=io=.io
--type-set=pdf=.pdf
--type-set=reia=.re
--type-set=scala=.scala