[gnome-builder] libide: add sentence and paragraph movement in visual-line mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: add sentence and paragraph movement in visual-line mode
- Date: Mon, 23 Mar 2015 23:59:57 +0000 (UTC)
commit e39447e0d44dbc99ee7db84610806eaa9b310287
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 5 12:49:32 2015 -0800
libide: add sentence and paragraph movement in visual-line mode
data/keybindings/vim.css | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 136fee1..8fa313f 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -306,6 +306,16 @@
"clear-selection" ()
"set-mode" ("vim-normal", permanent) };
+ bind "braceleft" { "movement" (paragraph-start, 1)
+ "movement" (last-char, 1) };
+ bind "braceright" { "movement" (paragraph-end, 1)
+ "movement" (last-char, 1) };
+
+ bind "parenleft" { "movement" (sentence-start, 1)
+ "movement" (last-char, 1) };
+ bind "parenright" { "movement" (sentence-end, 1)
+ "movement" (last-char, 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]