I'm looking for some way to unplug the Ctrl+W shortcut in Nautilus that closes the window. The reason is that when I drag a file out of Nautilus into my text editor, I almost always close it after reading some snippet for about 3 seconds. But when I press Ctrl+W to close my file, Nautilus wants to be the application in focus, so it takes the keystroke and closes the Nautilus window.
It would actually be better for Nautilus to release focus to the drop target when a file is dragged out--or even better, never take focus at all, just be visible but not a focusable window. But this seems like it would be difficult to accomplish, so I'd be happy with a way to turn off Ctrl+W. Does anyone know of a way?