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 777453 - Vim: gg after Shift-v inserts gg at the Current cursor rather than selecting upto the top
Vim: gg after Shift-v inserts gg at the Current cursor rather than selecting ...
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: keybindings
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-18 15:24 UTC by Aswin Mohan
Modified: 2017-01-18 19:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vim: implement gg in visual line mode (2.05 KB, patch)
2017-01-18 19:46 UTC, Christian Hergert
committed Details | Review

Description Aswin Mohan 2017-01-18 15:24:14 UTC
Summary:
    In Visual mode using Ctrl+v , typing gg inserts literal gg on the cursor position , rather than selecting up to the top.
Comment 1 Aswin Mohan 2017-01-18 15:57:22 UTC
EDIT:

Summary:
    In Visual mode using Shift+v , typing gg inserts literal gg on the cursor position , rather than selecting up to the top.
Comment 2 Christian Hergert 2017-01-18 19:38:58 UTC
The issue in implementing this one "correctly" right now is that we need to wrap around the first line selected. The simple implementation of this today would end up losing the first selected line (and instead only select up until the previous line).
Comment 3 Christian Hergert 2017-01-18 19:46:37 UTC
Created attachment 343743 [details] [review]
vim: implement gg in visual line mode

This is a bit of a hack, but it is sufficient until we have a real
shortcut context as part of the keybindings improvements.
Comment 4 Christian Hergert 2017-01-18 19:47:45 UTC
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.