On Mon, Feb 06, 2023 at 10:41:37AM -0800, Chris Miller wrote:
Hi Folks,
When I comment out a line, vim left justifies the line, but I want the
indentation to say exactly where it is! Does anybody now when vim
setting is responsible for either
1) Causing the shifty left justification of comments, so I can delete
it
2) Suppresses this shifty left justification that is maybe part of some
other setting, which maybe does things I want.
I just want it to stop! (-:
I often get stuck with visual mode in vi and the crazy one tab means
indent the next line with a tab too and then crazy stair step ensues!
What language are you commenting in?
O'Reilly has a new edition!
Learning the vi and Vim Editors, 8th Edition
https://www.oreilly.com/library/view/learning-the-vi/9781492078791/
Maybe try emacs?
M-x tutorial
--
Brian Lavender
http://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture