After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737911 - vim: Take count into account when deleting/yanking whole lines
vim: Take count into account when deleting/yanking whole lines
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-04 23:36 UTC by Florian Müllner
Modified: 2014-10-05 21:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vim: Take count into account when deleting/yanking whole lines (1.55 KB, patch)
2014-10-04 23:36 UTC, Florian Müllner
committed Details | Review
vim: Handle count in delete_to_end (1.12 KB, patch)
2014-10-05 00:34 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2014-10-04 23:36:45 UTC
See patch.
Comment 1 Florian Müllner 2014-10-04 23:36:47 UTC
Created attachment 287734 [details] [review]
vim: Take count into account when deleting/yanking whole lines

Currently we only delete/yank a single line when using dd/yy,
fix that.
Comment 2 Florian Müllner 2014-10-05 00:34:54 UTC
Created attachment 287738 [details] [review]
vim: Handle count in delete_to_end

'D' is documented to "Delete the characters under the cursor until the
end of the line and [count]-1 more lines". Do that.
Comment 3 Florian Müllner 2014-10-05 21:22:56 UTC
Attachment 287734 [details] pushed as 4d18775 - vim: Take count into account when deleting/yanking whole lines
Attachment 287738 [details] pushed as 54ec25f - vim: Handle count in delete_to_end