[gnome-builder/wip/libide] libide: implement paste with p
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: implement paste with p
- Date: Thu, 5 Mar 2015 22:08:10 +0000 (UTC)
commit 5725d22d300da3ffbfad3715aa22093ae7dfb3a8
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 5 14:07:54 2015 -0800
libide: implement paste with p
data/keybindings/vim.css | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index efaa9f5..1933681 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -103,6 +103,12 @@
/* redo */
bind "<ctrl>r" { "redo" () };
+ bind "p" { "save-insert-mark" ()
+ "paste-clipboard" ()
+ "restore-insert-mark" ()
+ "movement" (next-line, 0)
+ "movement" (first-nonspace-char, 0) };
+
/* overwrite */
bind "<shift>r" { "set-mode" ("vim-insert", permanent)
"set-overwrite" (1) };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]