[gnome-builder/gnome-builder-3-18] vim: add cc to replace a line in normal mode



commit 4b0834c9f8842de70c1d4bdfdb4ef77bcfa6f8f2
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Sun Oct 11 12:21:34 2015 +0200

    vim: add cc to replace a line in normal mode

 data/keybindings/vim.css |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index d8e321c..6074cad 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -542,6 +542,14 @@
              "delete-selection" ()
              "clear-modifier" () };
 
+  bind "c" { "begin-macro" ()
+             "movement" (first-char, 0, 1, 0)
+             "movement" (last-char, 1, 0, 0)
+             "copy-clipboard" ()
+             "delete-selection" ()
+             "auto-indent" ()
+             "set-mode" ("vim-insert", permanent) };
+
   bind "<shift>f" { "begin-macro" ()
                     "capture-modifier" ()
                     "set-mode" ("vim-insert", permanent)


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