📄 zgv.texi
字号:
@kindex Home (Selector)@item Home@kindex ^A (Selector)@itemx ^AMove the cursor to the start of the list.@kindex End (Selector)@item End@kindex ^E (Selector)@itemx ^EMove the cursor to the end of the list.@kindex g (Selector)@item g@kindex ' (Selector)@itemx 'Move the cursor to the first filename starting with the next keypressed, which would generally be a letter or number. Case issignificant; @kbd{a} and @kbd{A} are different.If no files start with the specified character, it moves to the firstfile which starts with a later char (in asciibetical order). If thereare none for which this is the case, it moves to the last file ---unless there are no files (just directories), in which case it has noeffect.@end table@node Viewing a File, Dialog Boxes, Moving Around The List, The File Selector@comment node-name, next, previous, up@section Viewing a File@cindex viewing a file@cindex file selector, viewing a file from the@cindex picture, viewing aThere are two ways to view files from the file selector. The usual wayis to press @kbd{Enter} when you've moved the cursor to the file toview. However, you can also view tagged files as a `slideshow', which isdescribed later (@pxref{Tagging}).@table @kbd@kindex Enter (Selector)@item EnterView a picture file, or if the cursor is on a subdirectory, make thatthe current directory. A progress indicator is shown when reading in afile --- while this is onscreen, you can use @kbd{Esc} to abort.@end table@node Dialog Boxes, Tagging, Viewing a File, The File Selector@comment node-name, next, previous, up@section Dialog Boxes@cindex dialog boxes@cindex messages@cindex errors@cindex directory dialogIf zgv has a serious problem reading a file, it will give an error.Errors are shown in boxes which appear in the middle of the screen ---they stay there until you press @kbd{Enter} or @kbd{Esc} (if using amouse, clicking @samp{OK} has the same effect).zgv also uses similar dialog boxes for other things:@itemize @minus@itemGetting a yes or no answer. @kbd{Enter} or @kbd{y} picks `yes';@kbd{Esc} or @kbd{n} picks no. (Again, you can click on the relevantbutton with the mouse to do the same.)@itemReading a directory name. Here you should type the directory name then@kbd{Enter}, or press @kbd{Esc} to abort. In fact, this line-inputdialog allows a certain amount of editing, and so supports theseadditional keys:@table @kbd@kindex Cursor Left (Dir dialog)@item Cursor Left@kindex ^B (Dir dialog)@itemx ^BMove the cursor left. (An underline character shows the cursorposition.)@kindex Cursor Right (Dir dialog)@item Cursor Right@kindex ^F (Dir dialog)@itemx ^FMove the cursor right.@kindex Home (Dir dialog)@item Home@kindex ^A (Dir dialog)@itemx ^AMove the cursor to the start of the line.@kindex End (Dir dialog)@item End@kindex ^E (Dir dialog)@itemx ^EMove the cursor to the end of the line.@kindex Insert (Dir dialog)@item Insert@kindex ^I (Dir dialog)@itemx ^IToggle insert/overwrite mode. (Insert mode is the default.) In insertmode, characters you type are inserted at the cursor position. Inoverwrite mode, they replace the existing chars.@kindex Backspace (Dir dialog)@item Backspace@kindex ^H (Dir dialog)@itemx ^HDelete char to the left of the cursor. (This assumes @kbd{Backspace}really generates a @kbd{DEL}, which is the usual setup on Linux. Notethat @kbd{Backspace} is (usually) the key above the main @kbd{Enter}key; it is often labelled simply as an arrow.)@kindex Delete (Dir dialog)@item Delete@kindex ^D (Dir dialog)@itemx ^DDelete the char the cursor is on.@end table@end itemize@node Tagging, Renaming a File, Dialog Boxes, The File Selector@comment node-name, next, previous, up@section Tagging@cindex tagging@cindex marking files@cindex selecting multiple filesThe file selector is not restricted to working on one file at a time.You can `tag' as many (or as few) files as you wish, and certaincommands described in this section will act on them.Initially, all files are untagged, and the filenames appear in black.Tagged files appear in red. (@xref{Configuring zgv}, if you'd prefer zgvto use different colours.)@menu* Tag and Untag Commands:: Selecting multiple files.* Slideshows:: How to view them all in turn.* Copying/Moving/Deleting Files:: Or, do simple file management.@end menu@node Tag and Untag Commands, Slideshows, Tagging, Tagging@comment node-name, next, previous, up@subsection Tag and Untag Commands@cindex tag and untag commands@cindex tagging, how to useThere are several ways to tag or untag files. The ones which work onindividual files also move the cursor forward one place afterwards, tomake tagging or untagging multiple files easier.As elsewhere in zgv, the case of the keys is significant --- the @kbd{t}(unshifted @kbd{t}) command has quite a different effect to that of@kbd{T} (shifted @kbd{t}).There is also a command available in the viewer to tag thecurrently-viewed file. @xref{Changing Picture}, for details.@table @kbd@kindex t (Selector)@item tTag file.@kindex n (Selector)@item nUntag file. Note that this is @kbd{n} (for `no tag', er, or somethinglike that); @kbd{u} would be more logical, but that is used for updatingthumbnails.@kindex T (Selector)@item TTag all files.@kindex N (Selector)@item NUntag all files. This is on @kbd{N} rather than @kbd{U} for consistency.@kindex Space (Selector)@item SpaceToggle the tag status of the file --- if it's tagged, untag it; if it'suntagged, tag it.@end tableTo see how many files are tagged, use @kbd{Alt-f} (@pxref{Other File SelCommands}).@node Slideshows, Copying/Moving/Deleting Files, Tag and Untag Commands, Tagging@comment node-name, next, previous, up@subsection Slideshows@cindex slideshows@cindex pictures, slideshow of@cindex files, slideshow of@cindex viewing multiple filesA `slideshow' lets you view all the tagged files in the currentdirectory one after the other, or in a randomised order if `shuffling'is enabled (@pxref{File Selector Toggles}):@table @kbd@kindex Tab (Selector)@item TabView the tagged files as a slideshow. (@kbd{Tab} is usually the keyabove @kbd{Caps Lock}, which is often labelled with two arrows.)@end tableEach file is shown for a certain amount of time, normally 4 seconds.(@xref{Invoking zgv}, if you find this too short or long.) After thetime runs out, the next file is shown. You can cut this delay short byhand using one of the viewer's change-picture commands such as@kbd{Space} (@pxref{Changing Picture}), or abort the slideshowprematurely by pressing @kbd{Esc}. You can also pause a slideshow sothat you remain on the current file until you unpause it (@pxref{PausingSlideshows}).Normally, once each file has been shown the slideshow ends, and you arereturned to the file selector. But if looping is enabled, the slideshowrepeats until you press @kbd{Esc} (@pxref{File Selector Toggles}).@node Copying/Moving/Deleting Files, , Slideshows, Tagging@comment node-name, next, previous, up@subsection Copying/Moving/Deleting Files@cindex copying files@cindex moving files@cindex files, copying@cindex files, moving@cindex pictures, copying@c one for us Rush fans...@cindex pictures, moving@c :-)@cindex deleting files@cindex tagged files, deleting@cindex marked files, deletingYou can copy or move tagged files to a directory you specify, ordelete all tagged files. If no files are tagged, zgvcopies/moves/deletes the file the cursor is currently on --- unlessthe cursor is on a subdirectory, in which case it gives an error.Note that the commands given here are uppercase --- lowercase @kbd{c},@kbd{m}, and @kbd{d} do not do the same thing.@table @kbd@kindex C (Selector)@item CCopy tagged files (or the current file) to a given directory. zgv asksfor the destination directory using a dialog (@pxref{Dialog Boxes}) andcopies the files there. If it comes to copy a file but there is anexisting file in the dir with the same name, the file is not copied andnor are any of the remaining files.@kindex M (Selector)@item MMove tagged files (or the current file) similarly.@kindex D (Selector)@item DDelete tagged files (or the current file) similarly. In this case,there's obviously no need to specify any directory :-) but you'reprompted before deletion starts (unless this is disabled,@pxref{Configuring zgv}). It also deletes thumbnails, for those fileswhich have them.@end table@node Renaming a File, Changing Directory, Tagging, The File Selector@comment node-name, next, previous, up@section Renaming a File@cindex renaming a file@cindex file, renaming a@cindex changing a file's nameAs well as copying/moving files, you can rename them:@table @kbd@kindex R (Selector)@item R@kindex Alt-r (Selector)@itemx Alt-rRename the current file or directory --- zgv will refuse to overwriteany existing files/directories. The new name must remain in thecurrent directory. (@xref{Copying/Moving/Deleting Files}, for how tomove a file to a different directory (albeit keeping the same name).)@end tableIt's better to use @kbd{R} than @kbd{Alt-r}; the latter never made muchsense, and is likely to be removed before long.@node Changing Directory, Changing the Sorting Order, Renaming a File, The File Selector@comment node-name, next, previous, up@section Changing Directory@cindex changing directory@cindex directory, changing@cindex selecting directory@cindex current directory@cindex moving directory@cindex jumping to a directoryThe easiest way to change the current directory in zgv is usually toselect a directory entry in the file list and press @kbd{Enter}.(Selecting @code{(..)} moves to the parent directory of the currentone.)There is an alternative though:(Note that this command is shift-@kbd{g}, not @kbd{g}.)@table @kbd@kindex G (Selector)@item GGo to a specified directory. zgv asks for the destination directoryusing a dialog box which you should type the dir's name into(@pxref{Dialog Boxes}), and moves to that directory if it exists.If the directory turns out to be unreadable --- i.e. you do not havepermission to read it --- zgv resorts to going to your home directory.(This is actually a general mechanism in zgv, but this command is themost likely trigger of it.) If that in turn is unreadable, zgv gives upin disgust and exits. :-)@end table@node Changing the Sorting Order, File Selector Toggles, Changing Directory, The File Selector@comment node-name, next, previous, up@section Changing the Sorting Order@cindex file selector, sorting order of the@cindex changing the file selector sorting order@cindex sorting order, changing the file selector's@cindex size, showing files in order of@cindex extension, showing files in order of@cindex date order, showing files inNormally, the files are listed in asciibetical order by name. However,you can instead have the file list sorted by size, last-modifieddate/time, or by `extension' (the file type).(Only the order of files can be altered; directories are always listedfirst, and always in name order.)@table @kbd@kindex Alt-n (Selector)@item Alt-nSort by name. This is the default.@kindex Alt-s (Selector)@item Alt-sSort by size. The biggest files are listed last.@kindex Alt-d (Selector)@item Alt-d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -