|Thomas Dickey <[email protected]> wrote: ||On Tue, Oct 31, 2017 at 07:47:38PM +0100, Steffen Nurpmeso wrote: ||> Fabien COUTANT <[email protected]> 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! | ... ||>|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 | ... ||> 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).
I feel i have to add a comment regarding the current discussion on oss-security@ and vim swap files. Being able to specify a backup (and swap) directory with vim is also something i be fond of, because for one there is only one global umask, which is why i have 0077, even though that i usually only want in $HOME and $TMPDIR (on multiuser systems i have a private $TMPDIR, yet that option is no longer used by default on at least OpenBSD), and then of course i know where the stuff is, do "rm ~/traffic/*~ etc." on Saturday and know i am done with it. Also ~/traffic has 0700, definitely. Ciao, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ vile mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/vile
