ADDED: one can now use the unix-like "cd" command to change to another

topic, thus use "cd topicname" instead just typing "topicname"!
FIXED:          there was a smal regex bug which maked it impossible to use such
                topics: "4 test", in such a case note just displayed note number 4
                instead of cd'ing to topic "4 test".
ADDED:          a new config option "$KEEP_TIMESTAMP" allows a user to disable
                note's default behavior of updating the timestamp of a note after
                editing it.
This commit is contained in:
TLINDEN
2012-02-10 20:12:09 +01:00
parent 142ff12b12
commit 1ab897790c
6 changed files with 541 additions and 151 deletions

View File

@@ -1,4 +1,4 @@
# 0.6
# 0.7
# This is a sample config for the note script
# You do not need it, if you keep the values
# here unchanged.
@@ -41,15 +41,27 @@
#$ALWAYS_EDIT = "YES";
# uncomment this, if you dont prefer that note updates
# the timestamp of a note after editing it. It will
# keep the original timestamp if this option is set.
#$KEEP_TIMESTAMP = "YES";
# uncomment and edit it, if you want to use another
# editor than the default $EDITOR or as fallback vi.
#$PreferredEditor = "emacs";
# This option turns topic-support on or off
# comment it out, if you don't need it
$TOPIC = 1;
# You can specify your own topic separator here.
# the default topic separator is a normal slash: "/"
#$TopicSep = '/';
# Define the maximum bytes a note can have in a
# note-entry.
$MAX_NOTE = 1024;