XEmacsNull Blog

Bi-Day XEmacs Tip Blog

Wednesday, December 28, 2005

Tip: Hex File Inserting

Question: Ok, now we have all these long commands. hexl-mode, hexl-mode-exit, hexl-insert-hex-string, and hexl-insert-hex-char. (Just two hexidecimal digits.) What can we do to reduce typing them? . . .

Answer: Define some new keys for yourself. If you're going to use these often. Why not customize it, for yourself.

(1) See Topic: Defining Key Bindings, all about Key Bindings.

(2) Use Ctrl-c, ???; for whatever bindings you prefer. Such as, Ctrl-c, h; to enter Hexl mode.

  (global-set-key '[(control c)(h)] 'hexl-mode)  

Platform: Linux
Level: Amateur
GlR

0 Comments:

Post a Comment

<< Home