[gnome-builder] vim: support "^w w" to move between splits
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: support "^w w" to move between splits
- Date: Wed, 21 Jan 2015 14:44:52 +0000 (UTC)
commit c9413e4f9f9d7eceb90b7b2a836744baacd47650
Author: Ray Strode <rstrode redhat com>
Date: Tue Jan 20 16:54:27 2015 -0800
vim: support "^w w" to move between splits
Right now pressing "<ctrl>w" twice will cycle between buffers
in a split screen. vim also supports the alternative keybinding
of"<ctrl>w" followed by just "w" (without ctrl) for doing the same.
This commit adds that additional keybinding to more closely match
vim.
https://bugzilla.gnome.org/show_bug.cgi?id=743299
src/vim/gb-source-vim.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/vim/gb-source-vim.c b/src/vim/gb-source-vim.c
index e619719..486b196 100644
--- a/src/vim/gb-source-vim.c
+++ b/src/vim/gb-source-vim.c
@@ -3265,8 +3265,7 @@ gb_source_vim_handle_ctrl_w (GbSourceVim *vim,
break;
case GDK_KEY_w:
- if ((event->state & GDK_CONTROL_MASK))
- split = GB_SOURCE_VIM_SPLIT_CYCLE_NEXT;
+ split = GB_SOURCE_VIM_SPLIT_CYCLE_NEXT;
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]