mdoc(8) files (man files) editor?

Peter Pentchev roam at
Wed Sep 14 09:33:43 UTC 2011

On Wed, Sep 14, 2011 at 12:42:45PM +0400, Lev Serebryakov wrote:
> Hello, Hackers.
>   What editor do you use for mdoc(8) / man files? Generic vi[m]/[x]emacs?

Vim works just fine for me.

>   Is here something special, maybe, kind of WYSIWYG?
>   Constructs which starts at new line, like .Xr and .Nm make editing
>  these files in generic-purpose text editor very uncomfortable, IMHO.

Vim seems to automagically switch into 'nroff mode' and editing is
actually quite nice and easy, IMHO.


Peter Pentchev	roam at roam at peter at
PGP key:
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I had to translate this sentence into English because I could not read the original Sanskrit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url :

More information about the freebsd-hackers mailing list