-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.py
48 lines (38 loc) · 1023 Bytes
/
help.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import logging as lg
class help(object):
"""
Wrapper class around various help lists
"""
vim_command = [
("q | quit", "Quit program"),
("h | help", "Display help screen"),
("license ", "Display license screen"),
("history ", "Display overview of last undo / redo operations")
]
vim_normal = [
(": ", "Enter command mode"),
("i ", "Enter insert mode"),
("j ", "Go one line down"),
("k ", "Go one line up"),
("b ", "Go one page backward"),
("B ", "Go to first visited page"),
("G ", "Go to bottom"),
("gg", "Go to top"),
("ZZ", "Quit program"),
("ENTER", "Follow current link")
]
emacs = [
("STUB", "STUB")
]
def __init__(self):
lg.debug("Initialized help")
def increment(self):
pass
def decrement(self):
pass
def top(self):
pass
def bottom(self):
pass
def describe(self):
return "HELP"