Module: Dog

Defined in:
lib/dog.rb,
lib/dog/map.rb,
lib/dog/viewer.rb

Defined Under Namespace

Classes: Map, Viewer

Constant Summary collapse

MAP_FILENAME =
"#{Dir.home}/.dog/map.yaml"
HANDLERS_FILENAME =
"#{Dir.home}/.dog/handlers.yaml"
WELCOME_TEXT =
"welcome to dog! this is your home topic. you can create a new link by pressing [n].\n\n try making a link that points to \"@newtopic\" to create a new topic!"
HELP_TEXT =
<<~EOS
hjkl - move cursor
space - open link
n - new link
e - edit link
d - delete link
K - move link up within topic
J - move link down within topic
s - save map
q - quit
? - show this help!
EOS