1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 20:17:13 +03:00
moar/sample-files/gitdiff-color.txt
2019-06-08 22:12:52 +02:00

101 lines
3.5 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

commit 0ccc858f87d70c302117db9034186754a4091f23
Author: Johan Walles <johan.walles@gmail.com>
Date: Thu Oct 24 20:45:40 2013 +0200
Prioritize the TODO file
diff --git a/TODO.txt b/TODO.txt
index 52551e7..663ffd7 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,36 +1,48 @@
Moar is a pager. It's designed to be easy to use and just do the
right thing without any configuration.

-TODO (in some order):
+TODO (before using it myself)
+-----------------------------
+* Scroll down one line on RETURN

-* Write "/ to search" somewhere in the status field
+* Enable displaying ANSI-colored input
+
+
+TODO (before github)
+--------------------

+TODO (before trying to get others to use it)
+--------------------------------------------
* Do a regexp search if the search term is a valid regexp, otherwise
just use it as a substring.

-* Make the search case sensitive only if it contains any capital
- letters. This goes for both regexps and non-regexps.
-
* Make sure we can search for unicode characters

-* Make sure searching for an upper case unicode character turns on
- case sensitive search.
-
* Make sure we get the line length right even with unicode characters
present in the lines. Verify by looking at where the truncation
markers end up.

-* Scroll down one line on RETURN
-
* Enable sideways scrolling using arrow keys.

* Handle search hits to the right of the right screen edge

-* Interactive search using ^s and ^r like in Emacs
+* Enable 'h' or '?' for help

-* Highlight all matches while searching
+* Report command line errors, think about when to use $stdin for input
+ vs what commands we accept

-* Enable displaying ANSI-colored input
+
+TODO (bonus)
+------------
+* Make the search case sensitive only if it contains any capital
+ letters. This goes for both regexps and non-regexps.
+
+* Make sure searching for an upper case unicode character turns on
+ case sensitive search.
+
+* Write "/ to search" somewhere in the status field
+
+* Interactive search using ^s and ^r like in Emacs

* Enable filtered input, start with zcat as a filter

@@ -47,11 +59,6 @@ TODO (in some order):

* Enable up / down using the mouse wheel.

-* Enable 'h' or '?' for help
-
-* Report command line errors, think about when to use $stdin for input
- vs what commands we accept
-
* Enable pass-through operation unless $stdout.isatty()

* Doing moar.rb on an arbitrary binary (like /bin/ls) should put all
@@ -60,7 +67,8 @@ TODO (in some order):
various control characters.


-DONE:
+DONE
+----
* Enable exiting using q (restores screen)

* Handle the terminal window getting resized.
@@ -121,3 +129,5 @@ DONE:
* Indicate when we're wrapping the search while pressing n.

* Indicate when we're wrapping the search while pressing N.
+
+* Highlight all matches while searching