[gnome-builder/wip/vim] vim: move to beginning of line upon `^` command.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/vim] vim: move to beginning of line upon `^` command.
- Date: Tue, 30 Sep 2014 08:25:44 +0000 (UTC)
commit 994b9c2332b328602eae2a6b4739d1059770f28a
Author: Christian Hergert <christian hergert me>
Date: Tue Sep 30 01:25:38 2014 -0700
vim: move to beginning of line upon `^` command.
src/editor/gb-editor-vim.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index fef1030..0b9bbc4 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -1165,6 +1165,13 @@ gb_editor_vim_handle_normal (GbEditorVim *vim,
gb_editor_vim_move_line_end (vim);
return TRUE;
+ case GDK_KEY_asciicircum:
+ /*
+ * Move to the beginning of the line.
+ */
+ gb_editor_vim_move_line_start (vim);
+ return TRUE;
+
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]