[gnome-builder] vim: add z<cr> z. and z- in visual modes
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: add z<cr> z. and z- in visual modes
- Date: Wed, 18 Nov 2015 15:30:42 +0000 (UTC)
commit ad2d4e5b96e72267b3f2ed26f6aa3bc8b76a3093
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Nov 18 16:29:37 2015 +0100
vim: add z<cr> z. and z- in visual modes
data/keybindings/vim.css | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 6b4d83f..70341d4 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1260,20 +1260,41 @@
{
bind "z" { "movement" (scroll-screen-center, 1, 0, 0)
"set-mode" ("vim-visual", permanent) };
+ bind "period" { "movement" (scroll-screen-center, 1, 1, 0)
+ "set-mode" ("vim-visual", permanent) };
+
bind "t" { "movement" (scroll-screen-top, 1, 0, 0)
"set-mode" ("vim-visual", permanent) };
+ bind "Return" { "movement" (scroll-screen-top, 1, 1, 0)
+ "set-mode" ("vim-visual", permanent) };
+ bind "KP_Enter" { "movement" (scroll-screen-top, 1, 1, 0)
+ "set-mode" ("vim-visual", permanent) };
+
bind "b" { "movement" (scroll-screen-bottom, 1, 0, 0)
"set-mode" ("vim-visual", permanent) };
+ bind "minus" { "movement" (scroll-screen-bottom, 1, 1, 0)
+ "set-mode" ("vim-visual", permanent) };
}
@binding-set builder-vim-source-view-visual-line-z
{
bind "z" { "movement" (scroll-screen-center, 1, 0, 0)
"set-mode" ("vim-visual-line", permanent) };
+ bind "period" { "movement" (scroll-screen-center, 1, 1, 0)
+ "set-mode" ("vim-visual-line", permanent) };
+
bind "t" { "movement" (scroll-screen-top, 1, 0, 0)
"set-mode" ("vim-visual-line", permanent) };
+ bind "Return" { "movement" (scroll-screen-top, 1, 1, 0)
+ "set-mode" ("vim-visual-line", permanent) };
+ bind "KP_Enter" { "movement" (scroll-screen-top, 1, 1, 0)
+ "set-mode" ("vim-visual-line", permanent) };
+
bind "b" { "movement" (scroll-screen-bottom, 1, 0, 0)
"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]