[gnome-builder] vim: add support for `d' in vim line selection mode



commit 80820edb4b457b0c74d895a3821e64fc99ce97ae
Author: Christian Hergert <christian hergert me>
Date:   Thu May 7 02:21:26 2015 -0700

    vim: add support for `d' in vim line selection mode
    
    Currently matches `x' behavior. Not sure if that is exactly correct, but
    suspect it is.

 data/keybindings/vim.css |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 4b25307..9a0a0ce 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1255,6 +1255,11 @@
                     "end-macro" ()
                     "set-mode" ("vim-normal", permanent) };
 
+  bind "d"        { "copy-clipboard" ()
+                    "delete-selection" ()
+                    "end-macro" ()
+                    "set-mode" ("vim-normal", permanent) };
+
   bind "<shift>x" { "copy-clipboard" ()
                     "delete-selection" ()
                     "delete-from-cursor" (chars, 1)


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