[gnome-builder] vim: add yfX
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: add yfX
- Date: Thu, 28 Sep 2017 17:03:55 +0000 (UTC)
commit 8e2bb0d70ae97d1c1e14d1d82af3c8b7ea9fbdd4
Author: Sebastien Lafargue <slafargue gnome org>
Date: Thu Sep 28 18:50:10 2017 +0200
vim: add yfX
add yfX : copy in the clipboard up to and included
the char represented by X.
src/libide/keybindings/vim.css | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/keybindings/vim.css b/src/libide/keybindings/vim.css
index 3c706e5..361da9a 100644
--- a/src/libide/keybindings/vim.css
+++ b/src/libide/keybindings/vim.css
@@ -1488,7 +1488,22 @@
"restore-insert-mark" ()
"clear-count" () };
- bind "t" { "save-insert-mark" ()
+ bind "f" { "begin-macro" ()
+ "save-insert-mark" ()
+ "save-command" ()
+ "capture-modifier" ()
+ "save-search-char" ()
+ "movement" (next-match-modifier, 1, 0, 1)
+ "copy-clipboard" ()
+ "selection-theatric" (expand)
+ "clear-modifier" ()
+ "restore-insert-mark" ()
+ "clear-count" ()
+ "end-macro" () };
+
+ bind "t" { "begin-macro" ()
+ "save-insert-mark" ()
+ "save-command" ()
"capture-modifier" ()
"save-search-char" ()
"movement" (next-match-modifier, 1, 1, 1)
@@ -1496,7 +1511,8 @@
"selection-theatric" (expand)
"clear-modifier" ()
"restore-insert-mark" ()
- "clear-count" () };
+ "clear-count" ()
+ "end-macro" () };
}
@binding-set builder-vim-source-view-normal-g
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]