[gnome-builder] vim: add `yw` and `yW` commands
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: add `yw` and `yW` commands
- Date: Wed, 1 Apr 2015 01:01:29 +0000 (UTC)
commit 6f6023fe2d51209c8bdaf2f0fbf4e18ed4bfb488
Author: Christian Hergert <christian hergert me>
Date: Tue Mar 31 18:00:23 2015 -0700
vim: add `yw` and `yW` commands
data/keybindings/vim.css | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 77ddb38..1f597fb 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -819,6 +819,20 @@
"selection-theatric" (expand)
"clear-selection" ()
"movement" (first-nonspace-char, 0, 1, 0) };
+
+ bind "w" { "save-insert-mark" ()
+ "movement" (next-word-start, 1, 1, 1)
+ "copy-clipboard" ()
+ "selection-theatric" (expand)
+ "restore-insert-mark" ()
+ "clear-count" () };
+
+ bind "<shift>w" { "save-insert-mark" ()
+ "movement" (next-full-word-start, 1, 1, 1)
+ "copy-clipboard" ()
+ "selection-theatric" (expand)
+ "restore-insert-mark" ()
+ "clear-count" () };
}
@binding-set builder-vim-source-view-normal-g
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]