home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
wp_dtp
/
jed207.lha
/
macros
/
indent
< prev
next >
Wrap
Text File
|
1993-01-09
|
354b
|
28 lines
;
; INDENT
;
; keybindings for Allman-style C indentation,
;
(bind `alt \{'
{
; If you prefer K&R style indents change the next command to
; (move `r' 1)
(split)
(insert `a' ~\{)
(split)
(insert `a' ~\})
(move `u' 1)
(split)
(move `rt' 1)
})
(bind `alt \}'
{
(find `s' `\}')
(find `n')
(move `r' 1)
})