Some simple hooks for jed.

You may want to take a look at fold_mode_hook(), it allows you to press ENTER at the end of line of a closed fold to open it. It's a bit hackish, so it may or may not work for you (it definitely works for jed 0.99.14 with my configuration).

Another nice hook is sau_save_buffer_hook(), which allows me to strip spaces at the end of lines, and convert tabs to spaces before saving C and SLang files.

I use c_mode_hook() and slang_mode_hook() to set some programming specific keybindings in an emulation friendly way (if the emulation supports this, that is).

Note that these files will not work out-of-the-box.

Get hooks.tar.gz.

Back to home page.

Last Updated : Thu Nov  8 22:55:56 CET 2001