[gnome-builder/gnome-builder-3-18] vim: Fix <ctrl>w binding in insert mode



commit 04c7f617677d0245a29981d3f87b3cd75391d811
Author: Damien Lespiau <damien lespiau intel com>
Date:   Wed Oct 14 18:20:49 2015 +0100

    vim: Fix <ctrl>w binding in insert mode
    
    The signal signature may have changed and I had runtime errors:
    
      binding "builder-vim-source-view-insert::<Primary>w":
    
      signature mismatch for signal "movement" in the 'IdeSourceViewMode'
      class ancestry
    
    Did double check that the vim behaviour of ctrl-w is exclusive as well.
    
    Signed-off-by: Damien Lespiau <damien lespiau intel com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756581

 data/keybindings/vim.css |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 6d9f267..c715883 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1136,7 +1136,7 @@
 {
   bind "<ctrl>u" { "movement" (line-chars, 1, 1, 0)
                    "delete-selection" () };
-  bind "<ctrl>w" { "movement" (previous-word-start, 1)
+  bind "<ctrl>w" { "movement" (previous-word-start, 1, 1, 0)
                    "delete-selection" () };
   bind "<ctrl>n" { "cycle-completion" (down) };
   bind "<ctrl>p" { "cycle-completion" (up) };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]