[gnome-builder] libide: allow <ctrl>n/<ctrl>p for moving through treeviews
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: allow <ctrl>n/<ctrl>p for moving through treeviews
- Date: Mon, 23 Mar 2015 23:56:19 +0000 (UTC)
commit b9903051ceb350f2ed466edbb55581f7f7fec808
Author: Christian Hergert <christian hergert me>
Date: Wed Mar 4 16:59:09 2015 -0800
libide: allow <ctrl>n/<ctrl>p for moving through treeviews
data/keybindings/vim.css | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 40a1c89..28e1d43 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -218,6 +218,12 @@
{
}
+ binding-set builder-vim-tree-view
+{
+ bind "<ctrl>n" { "move-cursor" (logical-positions, 1) };
+ bind "<ctrl>p" { "move-cursor" (logical-positions, -1) };
+}
+
IdeSourceViewMode.default,
IdeSourceViewMode.vim-normal {
gtk-key-bindings: builder-vim-source-view,
@@ -262,3 +268,7 @@ IdeSourceViewMode.vim-visual-line {
IdeSourceViewMode.vim-visual-block {
gtk-key-bindings: builder-vim-source-view, builder-vim-source-view-visual-block;
}
+
+GtkTreeView {
+ gtk-key-bindings: builder-vim-tree-view;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]