zsh-users
 help / color / mirror / code / Atom feed
* Magic-Backspace
@ 2012-09-11  7:51 Pascal Wittmann
  2012-09-11 15:09 ` Magic-Backspace Bart Schaefer
  2012-09-15 18:57 ` Magic-Backspace Oliver Kiddle
  0 siblings, 2 replies; 4+ messages in thread
From: Pascal Wittmann @ 2012-09-11  7:51 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

Hi,

I thought of implementing some magic-backspace that removes characters
until the 'current' completion is ambiguous (i.e. some extended version
of undo).

For example, if I type

	autoconf

and press 'magic-backspace' it would result in

	auto

The problem I'm facing is that I can not find out if the current
completion is ambiguous. Is this possible at all?

(I've tried to abuse complete-word and friends, but without success).


Regards
Pascal



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-15 19:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-11  7:51 Magic-Backspace Pascal Wittmann
2012-09-11 15:09 ` Magic-Backspace Bart Schaefer
2012-09-11 15:21   ` Magic-Backspace Pascal Wittmann
2012-09-15 18:57 ` Magic-Backspace Oliver Kiddle

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).