parent
4fb18e31b4
commit
66b6021908
|
@ -77,6 +77,10 @@ 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('uchar', 'B'), ('C-u B',))
|
||||||
|
self.add_action_and_bindings(HexRead('short', 'h'), ('C-u h',))
|
||||||
|
self.add_action_and_bindings(HexRead('ushort', 'H'), ('C-u H',))
|
||||||
self.add_action_and_bindings(HexRead('int', 'i'), ('C-u i',))
|
self.add_action_and_bindings(HexRead('int', 'i'), ('C-u i',))
|
||||||
self.add_action_and_bindings(HexRead('uint', 'I'), ('C-u I',))
|
self.add_action_and_bindings(HexRead('uint', 'I'), ('C-u I',))
|
||||||
self.add_action_and_bindings(HexRead('long', 'l'), ('C-u l',))
|
self.add_action_and_bindings(HexRead('long', 'l'), ('C-u l',))
|
||||||
|
@ -84,6 +88,10 @@ class Hex(mode.Fundamental):
|
||||||
self.add_action_and_bindings(HexRead('float', 'f'), ('C-u f',))
|
self.add_action_and_bindings(HexRead('float', 'f'), ('C-u f',))
|
||||||
self.add_action_and_bindings(HexRead('double', 'd'), ('C-u d',))
|
self.add_action_and_bindings(HexRead('double', 'd'), ('C-u d',))
|
||||||
|
|
||||||
|
self.add_action_and_bindings(HexReadAligned('char', 'b'), ('C-c b',))
|
||||||
|
self.add_action_and_bindings(HexReadAligned('uchar', 'B'), ('C-c B',))
|
||||||
|
self.add_action_and_bindings(HexReadAligned('short', 'h'), ('C-c h',))
|
||||||
|
self.add_action_and_bindings(HexReadAligned('ushort', 'H'), ('C-c H',))
|
||||||
self.add_action_and_bindings(HexReadAligned('int', 'i'), ('C-c i',))
|
self.add_action_and_bindings(HexReadAligned('int', 'i'), ('C-c i',))
|
||||||
self.add_action_and_bindings(HexReadAligned('uint', 'I'), ('C-c I',))
|
self.add_action_and_bindings(HexReadAligned('uint', 'I'), ('C-c I',))
|
||||||
self.add_action_and_bindings(HexReadAligned('long', 'l'), ('C-c l',))
|
self.add_action_and_bindings(HexReadAligned('long', 'l'), ('C-c l',))
|
||||||
|
|
Loading…
Reference in New Issue