🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Nancy McGough Wed, 07 Jul 1993 17:36
Macros for editing kill & init files
#4403
Author: Nancy McGough
Date: Wed, 07 Jul 1993 17:36
29 lines
1584 bytes
Thanks to Stefan T Schwingeler (sts@wits.ruhr.de) for
the basic idea for the first macro (CTRL+k).

# CTRL+k edits and recompiles kill file
map both ^k (
	:!vi ~/.nn/kill
	:compile
)

# CTRL+i edits and reloads init file
map both ^i (
	:!vi ~/.nn/init
	:load
)

I have a question about the second macro (CTRL+i): 
When it reloads the init file I get an error message 
about the sequence -- according to the man pages the
sequence is supposed to be ignored -- is this a
problem?  I also get an error message about my
prefix key ("make map mac") already being defined.
Anyone know if it's ok to just ignore these error
messages or should I not use this macro?

I'm also curious what files other than init one would 
want to :load...

Thanks,
Nancy
Re: Macros for editing kill & init files
#4442
Author: Nancy McGough
Date: Thu, 08 Jul 1993 16:29
9 lines
1079 bytes
I wrote:
>Thanks to Stefan T Schwingeler (sts@wits.ruhr.de) for
>the basic idea for the first macro (CTRL+k).

Oops, I should have said thanks to Kristian Koehntopp
for the CTRL+k idea and thanks to Stefan for sharing
it with me!

 -nancy
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads