Although there’s a surprising number of packages offering alternative minibuffer
selection systems, the default minibuffer completion in Emacs is nothing to be
scoffed at. Hitting Tab in the minibuffer gives you a slightly beefed up
version of the bash completion, and after all these years that is still my
preferred method for completing file-names (though I do have some custom-written
alternatives).
Still, there are two small changes you can make that significantly improve the
convenience of this feature. The simplest one is to make it case-insensitive.
The second, and more fine-tuned, is to exclude extensions which you never really
want. These are usually auto-generated files whose names are similar to files
you care about. My list is useful for elisp and LaTeX, so you may need to figure
out yours.
Improving Emacs file-name completion
14 Dec 2015, by Artur Malabarba.Although there’s a surprising number of packages offering alternative minibuffer selection systems, the default minibuffer completion in Emacs is nothing to be scoffed at. Hitting Tab in the minibuffer gives you a slightly beefed up version of the bash completion, and after all these years that is still my preferred method for completing file-names (though I do have some custom-written alternatives).
Still, there are two small changes you can make that significantly improve the convenience of this feature. The simplest one is to make it case-insensitive. The second, and more fine-tuned, is to exclude extensions which you never really want. These are usually auto-generated files whose names are similar to files you care about. My list is useful for elisp and LaTeX, so you may need to figure out yours.
Tags: completion, init.el, emacs,
Faster pop-to-mark command »
« Marking Emacs chat buffers as read (erc, jabber, etc)
Content © 2019, All rights reserved. Icons under CC3.0.