From 557124afa12af33f8453f04beab1ebfbe1e7a593 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 22 Jul 2019 13:54:48 +0100 Subject: change global movement commands -- g+[gGmhjkl] --- TODO | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index eb18bd3..4e8bd96 100644 --- a/TODO +++ b/TODO @@ -1,27 +1,32 @@ + optimize redraws (i.e., avoid to redraw if possible) - move configs in config.h - add Makefile -- auto-arrow 'A' (automatic end-char) -- change screen management (i.e., use an array of lines) +- change screen management (i.e., dynamic array of lines) +- get screen geometry +- add action multiplier (e.g., "7h" moves left by 7 cols) +- use [ENTER] to confirm arrow, boxes, and text (useful for scripting) +- add scripting mode option ("-s"?) +- add screen geometry option (-g 25x80?) - read file at point - parse control characters - parse arrows (text-mode will allow movements as well) -- implement CTRL+G as abort (aside ESC) -- change "g" command: - - g-g (goto top-left) - - g-G (goto bottom-right) - - g-m (goto middle) - - g-[hjkl] (goto leftmost, bottom, top, rightmost) +- (?) implement CTRL+G as abort (aside ESC) +- add crop command (c) + visual selection - - crop + - crop-to - yank/put * fill * delete - undo (by storing lines changed across insert/remove operations) - manage special chars (DEL/CANC) during text insert (also do not print unmanaged chars!) -- get screen geometry - allow scrolling (both vertical and horizontal) +- auto-arrow 'A' (automatic end-char) +* change "g" command: + - g-g (goto top-left) + - g-G (goto bottom-right) + - g-m (goto middle) + - g-[hjkl] (goto leftmost, bottom, top, rightmost) * move style commands in a separate function (and allow style change in all the modes...) * add "vis" (for visual) in mode strings -- cgit v1.2.3