[gnome-builder/wip/libide] libide: use < and > to unindent/indent text in vim mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: use < and > to unindent/indent text in vim mode
- Date: Thu, 5 Mar 2015 23:43:41 +0000 (UTC)
commit bce3dc23d925a0f29aafe943837980be0bc139e0
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 5 15:43:28 2015 -0800
libide: use < and > to unindent/indent text in vim mode
data/keybindings/vim.css | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 876323f..3ba341c 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -340,6 +340,9 @@
bind "<ctrl>u" { "movement" (half-page-up, 1) };
bind "<ctrl>d" { "movement" (half-page-down, 1) };
+ bind "greater" { "indent-selection" (1) };
+ bind "less" { "indent-selection" (-1) };
+
bind "0" { "movement" (first-char, 1) };
bind "<shift>asciicircum" { "movement" (first-nonspace-char, 1) };
bind "dollar" { "movement" (last-char, 1) };
@@ -426,6 +429,9 @@
bind "parenright" { "movement" (sentence-end, 1)
"movement" (last-char, 1) };
+ bind "greater" { "indent-selection" (1) };
+ bind "less" { "indent-selection" (-1) };
+
bind "<ctrl>e" { "movement" (screen-up, 1) };
bind "<ctrl>y" { "movement" (screen-down, 1) };
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]