[gnome-builder/wip/vim] vim: update some comments.



commit 0e8d392226142e28881ac1dd4d1945851bd920cc
Author: Christian Hergert <christian hergert me>
Date:   Thu Oct 2 03:52:36 2014 -0700

    vim: update some comments.

 src/editor/gb-editor-vim.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index 2fef944..b9682db 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -2819,15 +2819,16 @@ gb_editor_vim_cmd_forward_word_end (GbEditorVim *vim,
 }
 
 static void
-gb_editor_vim_cmd_goto (GbEditorVim *vim,
-                        guint        count,
-                        gchar        modifier)
+gb_editor_vim_cmd_g (GbEditorVim *vim,
+                     guint        count,
+                     gchar        modifier)
 {
   g_assert (GB_IS_EDITOR_VIM (vim));
 
   /*
    * TODO: We have more plumbing todo so we can support commands that are
    *       multiple characters (gU gu g~ and gg are all separate commands).
+   *       We can support `gU' on a selection, but not `gUw'.
    */
 
   switch (modifier)
@@ -3311,7 +3312,7 @@ gb_editor_vim_class_init (GbEditorVimClass *klass)
                                         gb_editor_vim_cmd_goto_line);
   gb_editor_vim_class_register_command (klass, 'g', TRUE,
                                         GB_EDITOR_VIM_COMMAND_CHANGE,
-                                        gb_editor_vim_cmd_goto);
+                                        gb_editor_vim_cmd_g);
   gb_editor_vim_class_register_command (klass, 'h', FALSE,
                                         GB_EDITOR_VIM_COMMAND_MOVEMENT,
                                         gb_editor_vim_cmd_move_backward);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]