parent
66b6021908
commit
a27edc8224
40
mode/hex.py
40
mode/hex.py
|
@ -77,27 +77,27 @@ class Hex(mode.Fundamental):
|
||||||
self.add_action_and_bindings(HexStartOfLine(), ('C-a', 'HOME',))
|
self.add_action_and_bindings(HexStartOfLine(), ('C-a', 'HOME',))
|
||||||
self.add_action_and_bindings(HexEndOfLine(), ('C-e', 'END',))
|
self.add_action_and_bindings(HexEndOfLine(), ('C-e', 'END',))
|
||||||
|
|
||||||
self.add_action_and_bindings(HexRead('char', 'b'), ('C-u b',))
|
self.add_action_and_bindings(HexRead('char', 'b'), ('C-c b',))
|
||||||
self.add_action_and_bindings(HexRead('uchar', 'B'), ('C-u B',))
|
self.add_action_and_bindings(HexRead('uchar', 'B'), ('C-c B',))
|
||||||
self.add_action_and_bindings(HexRead('short', 'h'), ('C-u h',))
|
self.add_action_and_bindings(HexRead('short', 'h'), ('C-c h',))
|
||||||
self.add_action_and_bindings(HexRead('ushort', 'H'), ('C-u H',))
|
self.add_action_and_bindings(HexRead('ushort', 'H'), ('C-c H',))
|
||||||
self.add_action_and_bindings(HexRead('int', 'i'), ('C-u i',))
|
self.add_action_and_bindings(HexRead('int', 'i'), ('C-c i',))
|
||||||
self.add_action_and_bindings(HexRead('uint', 'I'), ('C-u I',))
|
self.add_action_and_bindings(HexRead('uint', 'I'), ('C-c I',))
|
||||||
self.add_action_and_bindings(HexRead('long', 'l'), ('C-u l',))
|
self.add_action_and_bindings(HexRead('long', 'l'), ('C-c l',))
|
||||||
self.add_action_and_bindings(HexRead('ulong', 'L'), ('C-u L',))
|
self.add_action_and_bindings(HexRead('ulong', 'L'), ('C-c L',))
|
||||||
self.add_action_and_bindings(HexRead('float', 'f'), ('C-u f',))
|
self.add_action_and_bindings(HexRead('float', 'f'), ('C-c f',))
|
||||||
self.add_action_and_bindings(HexRead('double', 'd'), ('C-u d',))
|
self.add_action_and_bindings(HexRead('double', 'd'), ('C-c d',))
|
||||||
|
|
||||||
self.add_action_and_bindings(HexReadAligned('char', 'b'), ('C-c b',))
|
self.add_action_and_bindings(HexReadAligned('char', 'b'), ('C-u b',))
|
||||||
self.add_action_and_bindings(HexReadAligned('uchar', 'B'), ('C-c B',))
|
self.add_action_and_bindings(HexReadAligned('uchar', 'B'), ('C-u B',))
|
||||||
self.add_action_and_bindings(HexReadAligned('short', 'h'), ('C-c h',))
|
self.add_action_and_bindings(HexReadAligned('short', 'h'), ('C-u h',))
|
||||||
self.add_action_and_bindings(HexReadAligned('ushort', 'H'), ('C-c H',))
|
self.add_action_and_bindings(HexReadAligned('ushort', 'H'), ('C-u H',))
|
||||||
self.add_action_and_bindings(HexReadAligned('int', 'i'), ('C-c i',))
|
self.add_action_and_bindings(HexReadAligned('int', 'i'), ('C-u i',))
|
||||||
self.add_action_and_bindings(HexReadAligned('uint', 'I'), ('C-c I',))
|
self.add_action_and_bindings(HexReadAligned('uint', 'I'), ('C-u I',))
|
||||||
self.add_action_and_bindings(HexReadAligned('long', 'l'), ('C-c l',))
|
self.add_action_and_bindings(HexReadAligned('long', 'l'), ('C-u l',))
|
||||||
self.add_action_and_bindings(HexReadAligned('ulong', 'L'), ('C-c L',))
|
self.add_action_and_bindings(HexReadAligned('ulong', 'L'), ('C-u L',))
|
||||||
self.add_action_and_bindings(HexReadAligned('float', 'f'), ('C-c f',))
|
self.add_action_and_bindings(HexReadAligned('float', 'f'), ('C-u f',))
|
||||||
self.add_action_and_bindings(HexReadAligned('double', 'd'), ('C-c d',))
|
self.add_action_and_bindings(HexReadAligned('double', 'd'), ('C-u d',))
|
||||||
|
|
||||||
self.add_action_and_bindings(ShowAddress(), ('C-c a',))
|
self.add_action_and_bindings(ShowAddress(), ('C-c a',))
|
||||||
self.add_action_and_bindings(ShowX86Instruction(), ('C-c x',))
|
self.add_action_and_bindings(ShowX86Instruction(), ('C-c x',))
|
||||||
|
|
Loading…
Reference in New Issue