[gnome-builder/wip/libide] libide: use "delete-selection" with vim x and X to stay captive to line



commit 4a90c47fee888a4ad6b5c108fc763161b3106b29
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 5 11:29:13 2015 -0800

    libide: use "delete-selection" with vim x and X to stay captive to line

 data/keybindings/vim.css |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 4d5ae41..8a5991f 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -117,12 +117,12 @@
   /* delete current char */
   bind "x" { "movement" (next-char, 1)
              "copy-clipboard" ()
-             "delete-from-cursor" (chars, 1) };
+             "delete-selection" () };
 
   /* delete previous char */
   bind "<shift>x" { "movement" (previous-char, 1)
                     "copy-clipboard" ()
-                    "delete-from-cursor" (chars, 1) };
+                    "delete-selection" () };
 
   /* join selected lines */
   bind "<shift>j" { "movement" (first-char, 0)


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