-
Notifications
You must be signed in to change notification settings - Fork 272
Notes
Notes has been introduced in t-ui beta 6.5.
$ notes -add hello world
Two ways:
- By line:
$ notes -rm 2-> remove the note at the second line - By starting string:
$ notes -rm hel-> remove the first note starting with "hel" (case insensitive)
Note that t-ui will identify every integer (non-floating point number) as a line index.
This is useful to prevent a note to be cleared by the cmd $ notes -clear. The behavior is the same as notes -rm.
You can use optional pattern in header/footer:
%(At least one note/No notes)
Example:
%( --- Notes ---/No notes) -> --- Notes --- or No notes
Also, you can use these special characters:
-
%n-> newline -
%c-> notes count
Example:
%( --- Notes : %c ---%n/No notes) -> --- Notes : 3 --- or No notes
-
%c-> is locked -
%c-> notes count -
%r-> row index (<%c) -
%t-> creation time
Example:
notes -add [%t] Note %r/%c : Buy eggs and milk -> [Sat 02/24/18 11:42] Note 2/4 : Buy eggs and milk
#rrggbb(note)
Example:
notes -add #aa0011(hello t-ui), how are you?
(Check also Defining Colors)
You can save links as normal notes, and click on them later.
Example:
notes -add http://www.google.com
Francesco Andreuzzi, Italy, [email protected]