I use the cmdbackspace shortcut but in some applications fnbackspace seems to work as well. So which one it the delete hotkey in OS X El Capitan?
A detailed description on this is available on this post https://superuser.com/questions/482771/difference-between-cmdbackspace-and-fnbackspace-keyboard-shortcuts-in-osx
The most commonly used key for deleting elements that can be selected in the user interface is Backward Delete ⌫ since it's available without a modifier on all Apple keyboards. This applies to songs on a playlist, graphics in an image editor, deleting text boxes in Pages, etc.
The Forward Delete fn⌫ is mostly used for the same actions, so you can actually use both in an interchangable way for most applications, be it Numbers, Excel, iTunes, Photoshop, etc.
The combination ⌘⌫ is intended for actions that might have an immediate (unwanted) effect. One could indeed map trashing files and folders to a simple ⌫, but this could lead to accidental deletions. Finder uses the modifier as a safeguard. This also explains why iTunes will only delete a song without confirmation if you press the ⌘ modifier.
In a text editor…
Fn Backspace ← is the equivalent of Delete ⌦ for short keyboards without that key
- Backspace ← deletes the character before the cursor.
Delete ⌦ deletes the character after the cursor.
Cmd ⌘ Backspace ← deletes the entire line before the cursor.
- Opt ⌥ Backspace ← deletes the word before the cursor.
- Opt ⌥ Delete ⌦ deletes the word after the cursor.
In the Finder…
- Cmd ⌘ Backspace ← deletes the selected file(s).
- Cmd ⌘ Delete ⌦ has no function.