zsh-users
 help / color / mirror / code / Atom feed
* most-recent-file completion and accept-line
@ 2004-09-22 22:45 Eric Smith
  2004-09-23  7:59 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Smith @ 2004-09-22 22:45 UTC (permalink / raw)
  To: Zsh Users

One of the most useful lines in my config file is:
bindkey '^O' most-recent-file

How do I bind a key combination to complete the most recent file
and then automatically run accept-line or <enter> on this
filename?

(my preexec function will do the necessary on the file).

thanks a lot :)

-- 
Eric Smith


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

end of thread, other threads:[~2004-11-04  1:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-22 22:45 most-recent-file completion and accept-line Eric Smith
2004-09-23  7:59 ` Bart Schaefer
2004-11-02 20:06   ` Eric Smith
2004-11-04  1:52     ` Bart Schaefer

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