[gnome-builder] vim: add y$
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: add y$
- Date: Fri, 29 Sep 2017 07:36:58 +0000 (UTC)
commit b9a53a6aacd923ec0dfe1d87ebbdde4ed75f9fe3
Author: Sebastien Lafargue <slafargue gnome org>
Date: Fri Sep 29 09:33:58 2017 +0200
vim: add y$
Copy till the end of the line.
It doesn't works with a count yet because our $ doesn't too.
src/libide/keybindings/vim.css | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/keybindings/vim.css b/src/libide/keybindings/vim.css
index 76ef350..2a4595c 100644
--- a/src/libide/keybindings/vim.css
+++ b/src/libide/keybindings/vim.css
@@ -1513,6 +1513,15 @@
"restore-insert-mark" ()
"clear-count" ()
"end-macro" () };
+
+ bind "dollar" { "begin-macro" ()
+ "save-insert-mark" ()
+ "movement" (line-end, 1, 1, 1)
+ "copy-clipboard" ()
+ "selection-theatric" (expand)
+ "restore-insert-mark" ()
+ "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]