On 21.02.15 14:54, John Culleton wrote:
> On Tue, 17 Feb 2015 18:12:08 +1100
> Erik Christiansen <
dva...@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.