[gnome-builder] vim: make rx a single undo action
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: make rx a single undo action
- Date: Thu, 10 Mar 2016 10:04:23 +0000 (UTC)
commit 25420d58a5d48d14f659015a5e730c516662c7d5
Author: heroin <misko herko gmail com>
Date: Thu Mar 10 10:04:32 2016 +0100
vim: make rx a single undo action
https://bugzilla.gnome.org/show_bug.cgi?id=763438
data/keybindings/vim.css | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 372be51..d4c23c6 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -253,12 +253,14 @@
/* overwrite the current character with a modifier */
bind "r" { "begin-macro" ()
+ "begin-user-action" ()
"capture-modifier" ()
"movement" (next-char, 1, 1, 1)
"delete-selection" ()
"insert-modifier" (1)
"clear-modifier" ()
"movement" (previous-char, 0, 1, 0)
+ "end-user-action" ()
"end-macro" () };
bind "Left" { "movement" (previous-char, 0, 1, 1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]