[gnome-builder/wip/libide] libide: fix Y in vim normal mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: fix Y in vim normal mode
- Date: Fri, 6 Mar 2015 09:53:18 +0000 (UTC)
commit dc1835305f269760839e494fd9c23823bd83949f
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 5 22:44:38 2015 -0800
libide: fix Y in vim normal mode
data/keybindings/vim.css | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 4c3036a..410f6fd 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -221,9 +221,12 @@
/* copy */
bind "y" { "set-mode" ("vim-normal-y", transient) };
bind "<shift>y" { "save-insert-mark" ()
- "set-mode" ("vim-visual-line")
+ "movement" (first-char, 0)
+ "movement" (last-char, 1)
+ "move-cursor" (visual-positions, 1, 1)
"copy-clipboard" ()
- "set-mode" ("vim-normal")
+ "selection-theatric" (expand)
+ "clear-selection" ()
"restore-insert-mark" () };
/* visual mode transition */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]