GNOME Bugzilla – Bug 765505
vim: command :0 goes to last line instead of first.
Last modified: 2016-04-24 21:25:56 UTC
When running command ':0', the cursor goes to the last line in the file rather than the first as it is the usual behavior in both vi and vim.
Created attachment 326646 [details] [review] vim: fix :0 in command bar 0 is not a line number, and so IdeSourceViewMovements had special casing to move this to the last line of the buffer. We do want that behavior in other places, so special case this in the vim command parser.
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version. Attachment 326646 [details] pushed as e077bf3 - vim: fix :0 in command bar