[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: text editors



I use vim.

Log in as user that will use vim, and run the following command:



cat > .vimrc << "EOF"
set nosi noai
set number
 
EOF



Now when you use vim, there will be a line number at the beginning of every line.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com


-------- Original Message --------
*Subject: *  text editors
*From: *     Mick Crane <mick.crane@gmail.com>
*To: *        Debian-user <debian-user@lists.debian.org>
*Date: *      2019-3-25  12:38 AM
Is there any text editor, preferably in a terminal that has the facility to protect lines in the document, not the document itself ?
I've got 2 blocks of "code" that look similar and I keep editing the wrong one and then it doesn't work.
mick



Reply to: