[gnome-builder] libide: support f F t and T in vim visual mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: support f F t and T in vim visual mode
- Date: Tue, 24 Mar 2015 00:11:17 +0000 (UTC)
commit bc4bc4c3f39729fd00d1cba40f6918e9b1023f8e
Author: Christian Hergert <christian hergert me>
Date: Tue Mar 10 21:00:07 2015 -0700
libide: support f F t and T in vim visual mode
data/keybindings/vim.css | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 3a453d7..22f3057 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -797,6 +797,20 @@
bind "g" { "set-mode" ("vim-visual-g", transient) };
bind "z" { "set-mode" ("vim-visual-z", transient) };
+
+ bind "f" { "capture-modifier" ()
+ "movement" (next-match-modifier, 1, 0, 1)
+ "clear-modifier" () };
+ bind "t" { "capture-modifier" ()
+ "movement" (next-match-modifier, 1, 1, 1)
+ "clear-modifier" () };
+
+ bind "<shift>f" { "capture-modifier" ()
+ "movement" (previous-match-modifier, 1, 1, 1)
+ "clear-modifier" () };
+ bind "<shift>t" { "capture-modifier" ()
+ "movement" (previous-match-modifier, 1, 0, 1)
+ "clear-modifier" () };
}
@binding-set builder-vim-source-view-visual-line
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]