[gnome-builder] vim: zl z<Left> zh z<Right> zH zL in visual mode
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: zl z<Left> zh z<Right> zH zL in visual mode
- Date: Thu, 19 Nov 2015 21:57:57 +0000 (UTC)
commit ab8af013496fb14d422c53e55bf895a3153d5f68
Author: Sebastien Lafargue <slafargue gnome org>
Date: Thu Nov 19 22:14:44 2015 +0100
vim: zl z<Left> zh z<Right> zH zL in visual mode
data/keybindings/vim.css | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 6285575..2cc171e 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1289,6 +1289,27 @@
"set-mode" ("vim-visual", permanent) };
bind "minus" { "movement" (scroll-screen-bottom, 1, 1, 0)
"set-mode" ("vim-visual", permanent) };
+
+ bind "l" { "movement" (screen-left, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+ bind "Left" { "movement" (screen-left, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+
+ bind "<shift>l" { "movement" (half-page-left, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+
+ bind "h" { "movement" (screen-right, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+ bind "Right" { "movement" (screen-right, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+
+ bind "<shift>h" { "movement" (half-page-right, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+
+ bind "s" { "movement" (scroll-screen-left, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
+ bind "e" { "movement" (scroll-screen-right, 1, 0, 1)
+ "set-mode" ("vim-visual", permanent) };
}
@binding-set builder-vim-source-view-visual-line-z
@@ -1309,7 +1330,6 @@
"set-mode" ("vim-visual-line", permanent) };
bind "minus" { "movement" (scroll-screen-bottom, 1, 1, 0)
"set-mode" ("vim-visual-line", permanent) };
-
}
@binding-set builder-vim-source-view-normal-y
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]