[gnome-builder] libide: implement y in visual mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: implement y in visual mode
- Date: Tue, 24 Mar 2015 00:09:10 +0000 (UTC)
commit c68b90c666946dfd8339a3fbc03e16205441314f
Author: Christian Hergert <christian hergert me>
Date: Mon Mar 9 20:55:08 2015 -0700
libide: implement y in visual mode
data/keybindings/vim.css | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index b815793..8b2b7e5 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -665,6 +665,11 @@
bind "Up" { "movement" (previous-line, 1, 1, 1) };
bind "Down" { "movement" (next-line, 1, 1, 1) };
+ bind "y" { "copy-clipboard" ()
+ "selection-theatric" (expand)
+ "clear-selection" ()
+ "set-mode" ("vim-normal", permanent) };
+
bind "e" { "movement" (next-word-end, 1, 0, 1) };
bind "<shift>e" { "movement" (next-full-word-end, 1, 0, 1) };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]