[gnome-builder] libide: add replay support to >> and <<
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: add replay support to >> and <<
- Date: Tue, 24 Mar 2015 00:14:05 +0000 (UTC)
commit dc06d15aa3c18172650e51f927feb8f1973b2527
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 12 02:07:49 2015 -0700
libide: add replay support to >> and <<
data/keybindings/vim.css | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 56b96f2..266537f 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -657,16 +657,20 @@
@binding-set builder-vim-source-view-normal-indent
{
- bind "greater" { "movement" (first-char, 0, 1, 0)
+ bind "greater" { "begin-macro" ()
+ "movement" (first-char, 0, 1, 0)
"movement" (line-end, 1, 1, 0)
"indent-selection" (1)
"clear-selection" ()
- "movement" (first-nonspace-char, 0, 1, 0) };
- bind "less" { "movement" (first-char, 0, 1, 0)
+ "movement" (first-nonspace-char, 0, 1, 0)
+ "end-macro" () };
+ bind "less" { "begin-macro" ()
+ "movement" (first-char, 0, 1, 0)
"movement" (line-end, 1, 1, 0)
"indent-selection" (-1)
"clear-selection" ()
- "movement" (first-nonspace-char, 0, 1, 0) };
+ "movement" (first-nonspace-char, 0, 1, 0)
+ "end-macro" () };
}
@binding-set builder-vim-source-view-normal-z
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]