Currently, when one deletes a file or folder in list view of nautilus, focus always jumps to first item in the list view. This is a problem when browsing list with many files. User has to use mouse to focus the file next to the just deleted file. Attached patch solves this problem by selecting the next item in the list whenever user deletes an item from the list. When the last item is deleted, previous item is selected.
Attachment:
patch.diff
Description: Binary data