URI:
       tImplement o and O from insert mode - ve - a minimal text editor (work in progress)
  HTML git clone git://src.adamsgaard.dk/ve
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 670187416f021e651072fe6b467ba1a0204b6ebc
   DIR parent 882d0a17ff8cbbbd085bd4df669e4abc3bad0b82
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Tue,  6 Aug 2019 20:24:23 +0200
       
       Implement o and O from insert mode
       
       Diffstat:
         M input.c                             |      13 +++++++++++++
       
       1 file changed, 13 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/input.c b/input.c
       t@@ -138,6 +138,19 @@ editor_process_keypress()
                                        editor_row_delete(E.cursor_y);
                                        break;
        
       +                        case 'o':
       +                                if (E.cursor_y < E.num_rows)
       +                                        E.cursor_x = E.row[E.cursor_y].size;
       +                                editor_insert_new_line();
       +                                E.mode = 1;
       +                                break;
       +                        case 'O':
       +                                E.cursor_x = 0;
       +                                editor_insert_new_line();
       +                                editor_move_cursor('k');
       +                                E.mode = 1;
       +                                break;
       +
                                case 'I':
                                        E.cursor_x = 0;
                                        E.mode = 1;