I would like to delete and permanently delete a file in finder using del and shift+delete (windows style).
Is there any way to remap this in OS X lion?
You could assign a shortcut to a service like this:
System Preferences doesn't allow using ⇧⌦ as a shortcut though.
⌦ can't be used as a shortcut either, but you can modify Finder's property list directly. The shortcut format is described in the Cocoa Text System article.
However that makes pressing ⌦ move files to trash even when renaming a file.
If a two-step keyboard process is acceptable, you could always do:
⌘ + ⌫ to move the file to the Trash
⌘ + ⇧ + ⌫ to empty the Trash (with confirmation popup) or
⌘ + ⇧ + ⌥ +⌫ to empty the Trash (without confirmation popup).
Obviously, that will also get rid of all the other files already in the trash.
Alternatively, maybe something like Trash X would help. The description says:
I have made a simple app in cocoa, which acts like the trash icon but with different behaviour ie. when a file or folder is dropped on its icon in dock, it deletes it permanently.
I have also written a blog post about it- Mac OS X : shift + delete
Here is the link for the app- DeleteMe
Basic idea is - use: rm -rf , exactly the same what is suggested in the most voted answer, but implemented in a different way ;-)