On Thu, May 21, 2009 at 10:23:13AM -0700, Kelly Clowers wrote: > For hard to type file names, I have a line in my .inputrc: > > Control-o: menu-complete > > Then you can press ctrl-o repeatedly to cycle through file names. If you > can type the beginning of the name, it cycles through only the names > that start with whatever you typed. I have found it very useful for some > Japanese file names.
You might want to map it to a different keystroke, as ctrl-o already does something quite useful by default: When calling up a command from history, ctrl-o executes it and loads the next command in your history into the prompt. e.g., If, at some point in your command history, you did a 'cd' followed by 'ls', you could go back in the history to the 'cd', press ctrl-o, and it would execute the 'cd', then put 'ls' on the command line, ready for you to execute it by just hitting enter (or ctrl-o again, if you want to continue replaying the sequence). It's obviously not that great when you're replaying a sequence of two-character commands, but when you're stepping through a series of longer commands with lots of parameters from way back in the history, it can be a huge convenience. -- Dave Sherohman -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org