Tim Chase wrote:
> I also prefer to have the command sniff the &tabstop
> setting over manually specifying the number of
> spaces to use.

Good, but the point of the tip is to provide a quick way to deal with
snippets of code that one might come across. You may easily see that a
sample is using 2-space indents, and want to enter an easy command to
convert that to your preferred tab-indent arrangement, without changing
your tabstop to suit the sample.

For anyone interested, we have a new tip closely related to this. It
refers to a Python script that apparently can detect the style of
indents used in a file, then adjust your Vim settings accordingly:
http://vim.wikia.com/wiki/Determining_indent_settings_(shiftwidth_etc.)_
for_python_files

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to