Edit docs for typos

This commit is contained in:
Kovid Goyal
2025-12-02 06:26:47 +05:30
parent a59e6d1e72
commit ff72c79628

View File

@@ -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