Vim ignore pathname in file completion
===

Let's say I'm in `/tmp` and I have two files open in vim: `test.txt` and `tmpfile.txt`. Now I want to remove the `tmpfile.txt` buffer. I type `:bd tm`<kbd>TAB</kbd>. The behavior I want is for it to autocomplete `tmpfile.txt`; the behavior I get is a list of `tmpfile.txt` and `/tmp/test.log`, as it's autocompleting on the directory name as well as the filename. How can I make vim behave like I want?