[gnome-builder/wip/libide-merge] stash cursor position before selecting current word for search
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide-merge] stash cursor position before selecting current word for search
- Date: Sun, 22 Mar 2015 09:25:44 +0000 (UTC)
commit 4294ca0ca041060ddc97fd67dfcb7053257573e7
Author: Christian Hergert <christian hergert me>
Date: Sun Mar 22 02:24:45 2015 -0700
stash cursor position before selecting current word for search
data/keybindings/vim.css | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index a3a4328..daf12c2 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -182,12 +182,14 @@
"clear-count" () };
bind "<shift>k" { "clear-selection" ()
+ "save-insert-mark" ()
"movement" (previous-word-end, 0, 1, 1)
"movement" (next-word-start, 0, 1, 0)
"movement" (next-word-end, 1, 0, 1)
"request-documentation" ()
"clear-count" ()
- "clear-selection" () };
+ "clear-selection" ()
+ "restore-insert-mark" () };
/* swallow the current character and go to insert */
bind "s" { "begin-macro" ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]