[gnome-builder/wip/libide] libide: add macro recording to dip



commit 806ceee032da31f5b5d42fdcf1b76e51f275e4dc
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 12 02:24:52 2015 -0700

    libide: add macro recording to dip

 data/keybindings/vim.css |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 7d13a3a..e69f100 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -812,14 +812,16 @@
 
 @binding-set builder-vim-source-view-normal-d-i
 {
-  bind "p" { "movement" (paragraph-start, 1, 1, 1)
+  bind "p" { "begin-macro" ()
+             "movement" (paragraph-start, 1, 1, 1)
              "movement" (first-char, 1, 1, 0)
              "swap-selection-bounds" ()
              "movement" (paragraph-end, 1, 1, 1)
              "movement" (last-char, 1, 1, 0)
              "copy-clipboard" ()
              "selection-theatric" (shrink)
-             "delete-selection" () };
+             "delete-selection" ()
+             "end-macro" () };
 }
 
 @binding-set builder-vim-source-view-visual-g


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