"dw" deletes the whole line if you try to delete the last word in a line.
For example create the line:
This is a test
Then attempt to delete the word test using "dw", the whole line disappears.
Also "n" doesn't work properly when you are doing a search. Search for something then move the pointer back before the word you just found using "n", when you press "n" again it should go back to the start of that word, but it doesn't, it skips that occurence.
Post
Replies
Boosts
Views
Activity
Also if you do anything to edit the last line of the file it automatically creates another empty line below it, which might be why you can't delete the last line of the file?
Also "dd" which should delete a line is unable to delete the last line of a file.
Just to update my comment on "dw" it appears that if you use "dw" to delete the last word on a line it deletes the whole line, but more generally appears to work.