Follow 1610f9d21871f0 to more Emacs tips
Raycast artifact in the fifth program. I knew that it can execute scripts directly, but I have never tried it. I recently discovered that it provides a script-commands warehouse, which organizes some commonly used scripts, such as Emptying the trash, refreshing DNS, etc., are more practical.
But there are a lot of scripts in this warehouse, and all I need is a small part of them, so I need a way to easily copy files between two directories (called src and dst).
Before then I have been in Dired mark in the relevant documents, and then find dst in the minibuffer, if src and dst farther than from the whole process can be very tedious, inefficient, try a bit today, Google this problem , found a A good way, the process is as follows:
- Open two Dired windows, corresponding to the src directory and the dst directory respectively
- After the mark file in src, when you press C to copy, the default directory prompted is dst
- Just press Enter to copy the file
Set (setq dired-dwim-target t)
to use the above functions. Emacs is amazing!
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。