[gnome-builder/wip/libide] 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/wip/libide] libide: support f F t and T in vim visual mode
- Date: Wed, 11 Mar 2015 04:00:12 +0000 (UTC)
commit 921c8cee309cd7467485a1680e6d1e420bb87793
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]