Often I’ll download a file in my browser, and then want to move that file to the directory in which I am working in emacs. I wrote a little helper function to streamline this, called bjm/move-file-here , given below or at this github gist. Call the function and it will prompt you with a list of files in your starting directory (defaulting to ~/downloads , but configurable with bjm/move-file-here-start-dir ) sorted to have the most recent first. The chosen file will then be moved to the current directory if you are in dired, or else the directory of the current buffer.

The function needs the packages dash.el and swiper installed. Here is the code – comments are welcome.