Monday, November 1, 2010

Re: and set list problem

On 01/11/10 17:08, itx wrote:
> when i set list and then type four tab in a newline like
>
> \t\t\t\t
> when i "set list" , i type backspce for juse one time
> this four tabs were delete ,
>
> but when i "set nolist" ,i works well
> why…
>
> my settings
>
> set tabstop=8
> set noexpandtab
> set backspace=indent,eol,start
>

If you ":set list", and 'listchars' is unset, every hard tab you type
should appeat as ^I

If you ":set list", and 'listchars' has a properly set "tab:" subentry,
then that should be used to display hard tabs. To display them as
spasces, use for instance

:set list listchars=tab:\ \ ,eol:$

(two backslash-escaped spaces: see :help option-backslash ).

In both cases, the backspace ought to work properly...

What does Vim answer to

:verbose set list? listchars? lazyredraw?
:if !has('gui_running') | verbose set t_kb? t_kD? | endif

and what appears if (in Insert or Command-line mode) you hit Ctrl-V (or
Ctrl-Q if you use Ctrl-V to paste into Vim) followed by Backspace?


Best regards,
Tony.
--
Eternal nothingness is fine if you happen to be dressed for it.
-- Woody Allen

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

No comments: