[gnome-builder] vim: handle dG
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: handle dG
- Date: Tue, 28 Jun 2016 16:43:11 +0000 (UTC)
commit 2066e5cf9b9cdf4af2ee49c73d10020f4d6dc2d7
Author: Alexandre Franke <alexandre franke gmail com>
Date: Tue Jun 28 18:41:44 2016 +0200
vim: handle dG
data/keybindings/vim.css | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 4005fa8..0e3be6f 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1052,6 +1052,14 @@
"movement" (first-nonspace-char, 0, 1, 0)
"end-macro" () };
+ bind "<shift>g" { "begin-macro" ()
+ "movement" (nth-line, 1, 0, 1)
+ "movement" (last-char, 1, 0, 0)
+ "copy-clipboard" ()
+ "delete-selection" ()
+ "movement" (last-char, 0, 0, 0)
+ "end-macro" () };
+
bind "i" { "set-mode" ("vim-normal-d-i", transient) };
bind "a" { "set-mode" ("vim-normal-d-a", transient) };
bind "g" { "set-mode" ("vim-normal-d-g", transient) };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]