Sunday, February 22, 2015

Re: Getting rid of smart tabs.

On 21.02.15 14:54, John Culleton wrote:
> On Tue, 17 Feb 2015 18:12:08 +1100
> Erik Christiansen <dvalin@internode.on.net> wrote:
> > On 16.02.15 16:02, John Culleton wrote:
> > > Can I get rid of smart tabs and how do I do
> > > it?
> >
> > Do you have smarttab set to off? (nosmarttab,
> > the default)
>
> Do I set that in .vimrc or possibly .gvimrc?

In .vimrc. Having never been tempted to try gvim, I had to do a
":h .gvimrc" to see what it is good for. If you do the same, you'll
be able to confirm the choice. This should do it:

set nosmarttab

BUT observe that nosmarttab is the default (as pointed out above), so
you either have a "set smarttab" in .vimrc or /etc/vim/vimrc* , or some
plugin setting it in a script. To debug, you might try in
vim:

:set verbose smarttab?

Here that simply says "nosmarttab", implying a default.
Compare this non-default:

:verbose set iskeyword?
iskeyword=@,48-57,_,192-255
Last set from ~/.vimrc

Erik

--
"Those who live by the GUI, die by the GUI"
- Duncan Roe, on luv-main ML.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment