[gnome-builder] libide: implement paste with p
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: implement paste with p
- Date: Tue, 24 Mar 2015 00:00:42 +0000 (UTC)
commit 0f3548bbe095ca7d9c2bcf8d57fc7e56abd9c6df
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]