Tuesday, September 8, 2015

Re: Inserting genuine tab character.

On 8 September 2015, Tim Chase <vim@tim.thechases.com> wrote:
> On 2015-09-08 08:53, John Culleton wrote:
> > I am building an index for a customer. His publisher insists on the
> > use of a genuine tab character and not just spaces emulating a tab.
> >
> > Can gvim insert a tab character? How?
>
> You can either ":set noexpandtab" and have all <tab> characters appear
> literally, or if you only need it occasionally, you can prefix it with
> control+V to get a literal tab.

Also, if you change expandtab or tabstop, you can run :ret! to
re-compute tabs throughout the file. See :h :ret for more information.

/lcd

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