My .ackrc

151 views
Skip to first unread message

Andy Lester

unread,
Apr 7, 2012, 12:33:08 PM4/7/12
to ack-...@googlegroups.com
(In case anyone's interested)

# Always sort
--sort-files

# I'm tired of grouping
--noheading
--break

# Handle .pmc files
--type-set=pmc=.pmc

# Handle .hwd files
--type-set=hwd=.hwd

# Handle .md files
--type-set=md=.mkd
--type-add=md=.md

# Handle .textile files
--type-set=textile=.textile

# Hooray for smart-case!
--smart-case

--ignore-dir=nytprof

xoxo,
Andy

--
Andy Lester => an...@petdance.com => www.petdance.com => AIM:petdance

Phil Dobbin

unread,
Apr 7, 2012, 2:30:41 PM4/7/12
to ack-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/04/2012 17:33, Andy Lester wrote:

> (In case anyone's interested)
>
> # Always sort
> --sort-files
>
> # I'm tired of grouping
> --noheading
> --break
>
> # Handle .pmc files
> --type-set=pmc=.pmc
>
> # Handle .hwd files
> --type-set=hwd=.hwd
>
> # Handle .md files
> --type-set=md=.mkd
> --type-add=md=.md
>
> # Handle .textile files
> --type-set=textile=.textile
>
> # Hooray for smart-case!
> --smart-case
>
> --ignore-dir=nytprof

Thanks for that, Andy.

Talking of markdown as was earlier mentioned, for us Vim users I have in
my vimrc:

`au BufRead,BufNewFile {*.md,*.mkd,.markdown} set ft=markdown`

to make the reading of said files easier & more wholesome.

Cheers,

Phil...

- --
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPgIfPAAoJEKpMeDHWT5ADlIkH/RuCMoeJ2FA/VGDUst9F0Pkz
nTWRV9AhoyLbnzNkc3G2tHJFV77gQbMPV/xtTb21F4u2JvKtEZ72fdloptFuSJ6b
0qLKvri4YAmNTLyn/WNbXfaGp9BIJ7P0KHzAlaRAqCqqg/6XeLz3NKGXJvI/EQGi
6/GixWtkRw75hgqeU2W/t5+ImY4ZIXsy2BRCX8gc5BGYhcu203j+WTLs+pSxsreY
r/k98T0a4UDdlB5nSvQJnBX12B1tVzo85EGTRYclij0Xeu7ixaQpJq9BIjlCu7gR
sHwn5Ro+aJdkPVof8jd8TQUM3jqOBWfzi498BJlu9cISOP9uYcVxdSd9tfdyoJY=
=Va6O
-----END PGP SIGNATURE-----

Andy Lester

unread,
Apr 7, 2012, 2:34:01 PM4/7/12
to ack-...@googlegroups.com

On Apr 7, 2012, at 1:30 PM, Phil Dobbin wrote:

`au BufRead,BufNewFile {*.md,*.mkd,.markdown} set ft=markdown`

to make the reading of said files easier & more wholesome.

The ftplugin/markdown.vim ought to handle that.

That said, I have an alternate set of */markdown.vim http://plasticboy.com/markdown-vim-mode/

It's on Github, too.

Here's hoping that the two markdown.vim maintainers can get together and normalize them into one.

Phil Dobbin

unread,
Apr 7, 2012, 2:39:41 PM4/7/12
to ack-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/04/2012 19:34, Andy Lester wrote:
>
> On Apr 7, 2012, at 1:30 PM, Phil Dobbin wrote:
>
>> `au BufRead,BufNewFile {*.md,*.mkd,.markdown} set ft=markdown`
>>
>> to make the reading of said files easier & more wholesome.
>
> The ftplugin/markdown.vim ought to handle that.
>
> That said, I have an alternate set of */markdown.vim
> http://plasticboy.com/markdown-vim-mode/
>
> It's on Github, too.
>
> Here's hoping that the two markdown.vim maintainers can get
> together and normalize them into one.

Agreed. I installed Tim Pope's markdown plugin but it didn't seem to
work across the board so, instead of opening an issue, I came across
the above autocmd with a quick Google & used that.

Also helps keep the plugin tally down. Always looking to shave off the
extra milliseconds before launch :-)

Cheers,

Phil...

- --
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPgInqAAoJEKpMeDHWT5AD5sEH/iCLg+p9WlZ3+mKMhJ+hTcxG
cQhcMJLZCQgequYCudx8oiE/U4FPTQQD19BCWZTf+v1tlv72KWrHxyB0dj7+Ky7E
Kc1wBFQNleKcx4uqqwf9D1WBqKyOH0JzYk1334pWnSurA4rJQfBmR0UvtQvPOGg0
qJfxvI6MOXX0fODQ+V0qvxtwe6oIrAGHuMzCed2TxW8um/yK379C2QPBAuY8wLUY
EDeXPPHfgzm+sx+QxIyqHRYg0j1jMdQ9puMucbuF+4/WeZ1TlA718GJIIGPaBESE
iSM+byIOJ1ys9KzDrTL/pPSv0t1+V9W/bG0SOnU8eOiFq+JnJFRsc+R56qQDWDY=
=bIaA
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages