X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=.emacs;h=dbb5283042cb101ea1c34e56c8350aa503baa531;hb=refs%2Fheads%2Fmaster;hp=8f88dc32afca085ae71f83038cf1b8d42c2ed054;hpb=ce1ee19a2d810d2ccc8bd4ab2cef72688728b5fa;p=emacs.d.git diff --git a/.emacs b/.emacs index 8f88dc3..dbb5283 100644 --- a/.emacs +++ b/.emacs @@ -91,3 +91,11 @@ ;; I want to see trailing whitespace. (setq-default show-trailing-whitespace t) + +;; Don't ignore .git directories when tab-completing filenames, for +;; two reasons. First, it's nice to be able to tell that a directory +;; is a git repository from the output of "ls", and giving them a .git +;; suffix is an easy way to do that. Second, editing .git/config is +;; the easiest way to do a lot of things in git. +(setq completion-ignored-extensions + (remove ".git/" completion-ignored-extensions))