From ff72c79628ff3b2dcb7f97233577c9efa43c6cad Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 2 Dec 2025 06:26:47 +0530 Subject: [PATCH] Edit docs for typos --- docs/kittens/choose-files.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/kittens/choose-files.rst b/docs/kittens/choose-files.rst index fad6baff9..f3c566314 100644 --- a/docs/kittens/choose-files.rst +++ b/docs/kittens/choose-files.rst @@ -25,20 +25,21 @@ Simply run it as:: kitten choose-files to select a single file from the tree rooted at the current working directory. + Type a few letters from the filename and once it becomes the top selection, -press :kbd:`Enter`. You can change the current directory by instead selecting a +press :kbd:`Enter`. You can change the current directory by selecting a directory and pressing the :kbd:`Tab` key. :kbd:`Shift+Tab` goes up one directory level. If you want to choose a file and insert it into your shell prompt at the current cursor position, press :sc:`insert_chosen_file` for files or :sc:`insert_chosen_directory` for directories. Similarly, to have a file -chosen in a command line, use, or example:: +chosen in a command line, use, for example:: some-command $(kitten choose-file) Note, that the above may not work in a complicated pipeline as it performs -terminal I/O and needs exclusive access to the ttyy device while choosing a +terminal I/O and needs exclusive access to the tty device while choosing a file. Creating shortcuts to favorite/frequently used directories