vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] On backspace (feature requests)


From: Thomas Dickey
Subject: Re: [vile] On backspace (feature requests)
Date: Tue, 31 Oct 2017 20:17:27 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Oct 31, 2017 at 07:47:38PM +0100, Steffen Nurpmeso wrote:
> Fabien COUTANT <address@hidden> wrote:
>  |[...]
>  |> Is it possible that a backspace spaces back shiftwidth (or
>  |> tabstop) characters in notabinsert mode, _if_ the cursor is
>  |> positioned on a clean sw/ts position and preceeded by a sw/ts
>  |> number of spaces (or multiple thereof)?  That would be great!
>  |
>  |Hello
>  |
>  |Do you mean in insert mode ? This *looks* like the behaviour of ^D (dedent,
>  |while ^T is indent) which is vi's standard. I know BS may look practical
>  |but it may just as well be bad habit given by vim, trying to be as
>  |notepad-like editors.
> 
> Yes!  Oh i really did not know that, but vim documents it for
> insert-mode.
> 
>  |You could remap backspace to ^D but you would loose (and miss) the standard
>  |key.  Why not trying to get used back to the vi standard ?

Oddly enough, the ^D and ^T used for this purpose aren't rebindable
(unlike just about everything else).

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]