Saturday, March 22, 2014

Re: customize indentation

On 22.03.14 02:29, Arup Rakshit wrote:
> I am not using *tab* for indentation, rather 2 space indentation.

Then either you or some program would need to count spaces, and divide
by some factor, in this case 2.

> Could you tell me what to change in my .vimrc file ?

Just omit the initial colons in:

> > :set tabstop=2 sw=2 noexpandtab
> >
> > :set listchars+=tab:>-
> >
> > :set list

They are used when entering the commands in normal mode, but are not
required in .vimrc.

Erik

--
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
- Sir Stephen Henry Roberts

--
--
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