[gnome-builder] libide: use "delete-selection" with vim x and X to stay captive to line
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: use "delete-selection" with vim x and X to stay captive to line
- Date: Mon, 23 Mar 2015 23:59:21 +0000 (UTC)
commit 1095a2c63460fc133428c6b0d5143c6084ea241e
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 5 11:29:13 2015 -0800
libide: use "delete-selection" with vim x and X to stay captive to line
data/keybindings/vim.css | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 4d5ae41..8a5991f 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -117,12 +117,12 @@
/* delete current char */
bind "x" { "movement" (next-char, 1)
"copy-clipboard" ()
- "delete-from-cursor" (chars, 1) };
+ "delete-selection" () };
/* delete previous char */
bind "<shift>x" { "movement" (previous-char, 1)
"copy-clipboard" ()
- "delete-from-cursor" (chars, 1) };
+ "delete-selection" () };
/* join selected lines */
bind "<shift>j" { "movement" (first-char, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]