Date: Fri, 20 Feb 2009 15:39:27 +0100 From: "Johan Hendriks" <Johan@double-l.nl> To: <freebsd-questions@freebsd.org> Subject: vi set comment # Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE58A@w2003s01.double-l.local>
next in thread | raw e-mail | index | archive | help
How can i in vi set a # on multiple Lines to comment out some text.
I know it must be a simple thing but i can not seem to get it right.
Like in a config file i have the following
define service{
use generic-service
host_name w2003hk03
service_description Explorer
check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
}
And now i want to set a # to all the 6 lines.
Thanks for your time
Regards,
Johan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCB5DE58A>
