-
Notifications
You must be signed in to change notification settings - Fork 257
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
-
%l
-> 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
- 0: Time (up->down)
- 1: time (down->up)
- 2: alphabetical (up->down)
- 3: alphabetical (down->up)
- 4: locked before
- 5: unlocked before
config -set notes_sorting [n]
Francesco Andreuzzi, Italy, [email protected]